[Koha-bugs] [Bug 26462] t/db_dependent/Holds.t tests delete data unnecessarily

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Sep 15 12:19:40 CEST 2020


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

--- Comment #2 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 110097
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=110097&action=edit
Bug 26462: Don't delete existing data for tests

These tests generate their own items, patrons, and circ rules. Existing
system data will not affect the results of the tests. We do not need
to delete information.

You may be able to notice the difference in speed of tests depending on your
system. It should
be faster after applying

To test:
1 - Before applying patch:
    prove -v t/db_dependent/Holds.t
2 - It passes
3 - Apply patch
4 - prove -v t/db_dependent/Holds.t
5 - It passes

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


More information about the Koha-bugs mailing list