[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
Thu Jan 6 00:48:52 CET 2022


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

Samu Heiskanen <samu.heiskanen at hypernova.fi> changed:

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

--- Comment #2 from Samu Heiskanen <samu.heiskanen at hypernova.fi> ---
Created attachment 129045
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=129045&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
and prove t/db_dependent/Koha/CirculationRules/*

Signed-off-by: Samu Heiskanen <samu.heiskanen at hypernova.fi>

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


More information about the Koha-bugs mailing list