[Koha-bugs] [Bug 16561] Regression caused by 15877 - t/db_dependent/Barcodes.t deletes all items from a DB

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun May 22 02:14:35 CEST 2016


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16561

--- Comment #1 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 51689
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=51689&action=edit
Bug 16561 - Followup to fix tests

When I altered the tests to avoid accidental deletion of all items, I
didn't rollback the transaction, hence the tests now delete all items
from a db when run.

This patch rollsback the transaction so items are not deleted from your db

To test:
1 - Backup your db
2 - prove -v t/db_dependent/Barcodes.t
3 - Note that all items and issues are deleted from the DB
4 - Restore your DB
5 - Apply this patch
6 - prove -v t/db_dependent/Barcodes.t
7 - Your DB should eb unchanged

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list