[Koha-bugs] [Bug 31466] t/00-check-atomic-updates.t always fails if atomic update exists

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Aug 26 01:30:50 CEST 2022


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

--- Comment #1 from Aleisha Amohia <aleisha at catalyst.net.nz> ---
Created attachment 139810
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=139810&action=edit
Bug 31466: Fix t/00-check-atomic-updates.t to pass if atomic updates

The way the test was previously written, it would fail if atomic updates
matched the format /.*pl$/ . This is incorrect because atomic update
names should match the format /.*pl/.

To test:
1) Run t/00-check-atomic-updates.t. Confirm test passes
2) Add an atomic update. Use the example from
https://wiki.koha-community.org/wiki/Database_updates#How_to_write_an_atomicupdate_file
3) Run t/00-check-atomic-updates.t. Confirm test fails
4) Apply patch and run t/00-check-atomic-updates.t. Test should pass!

Sponsored-by: Catalyst IT

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


More information about the Koha-bugs mailing list