[Koha-bugs] [Bug 29705] Test suite has some IssuingRules left-overs

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jan 14 09:10:56 CET 2022


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

Fridolin Somers <fridolin.somers at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #129138|0                           |1
        is obsolete|                            |

--- Comment #6 from Fridolin Somers <fridolin.somers at biblibre.com> ---
Created attachment 129464
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=129464&action=edit
Bug 29705: In test suite merge IssuingRules with CirculationRules

After Bug 18936, in test suite, there is still
t/db_dependent/Koha/IssuingRules.t and t/db_dependent/Koha/IssuingRules/
This patch moves IssuingRules.t inside CirculationRules.t and renames dir
t/db_dependent/Koha/IssuingRules.
And adds DB transation in each first-level subtest.

Also renames in :
  use constant GUESSED_ITEMTYPES_KEY => 'Koha_IssuingRules_last_guess';

Test plan :
Run prove t/db_dependent/Koha/CirculationRules.t
prove t/db_dependent/Koha/CirculationRules/*
prove t/db_dependent/Circulation/maxsuspensiondays.t

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


More information about the Koha-bugs mailing list