]> git.koha-community.org Git - koha.git/commit
Bug 9394: (follow-up) modernize test cases
authorGalen Charlton <gmc@esilibrary.com>
Tue, 9 Jul 2013 14:13:38 +0000 (14:13 +0000)
committerGalen Charlton <gmc@esilibrary.com>
Wed, 24 Jul 2013 05:04:56 +0000 (05:04 +0000)
commit8d9e6f37109528f5d50f2b005d60489817934500
tree9dbbb1a74238d6bbc2a1345c8baf54b99907bd8d
parentdd2185981de2bf6e8d14bcdd4b6ae0da6cf2cbed
Bug 9394: (follow-up) modernize test cases

- wrap in a transaction
- create the patron records needed for the test

To test:

[1] Run prove -v t/db_dependent/Holds.t
[2] Verify that all tests have passed.
[3] Verify that the additional patron records created
    by the test no longer exist in the database.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
t/db_dependent/Holds.t