Bug 15870: Follow up to address comment #20
authorMark Tompsett <mtompset@hotmail.com>
Fri, 11 Mar 2016 13:34:22 +0000 (08:34 -0500)
committerBrendan A Gallagher <brendan@bywatersolutions.com>
Thu, 24 Mar 2016 20:15:40 +0000 (20:15 +0000)
commit5fa1257a2e6bf09ece1be64edaaa16b7303f0a55
tree04be1ff6a19a87465e864270a012c5e5c4378d7d
parent4e1289a55d7eee0987216a306278cba8c2d66036
 Bug 15870: Follow up to address comment #20

- $OUTPUT_AUTOFLUSH wasn't used to it was removed
- Use English was removed since $OUTPUT_AUTOFLUSH wasn't not needed
- transaction start and end were moved to subtests
- prepare was moved outside loop
- partial MARC agnosticism was added

TEST PLAN
---------
1) apply patch
2) prove t/db_dependent/Filter_MARC_ViewPolicy.t
3) run koha qa test tools

Signed-off-by: Hector Castro <hector.hecaxmmx@gmail.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
t/db_dependent/Filter_MARC_ViewPolicy.t