]> git.koha-community.org Git - koha.git/commit
Bug 19513: More changes to MarkIssueReturned.t (after bug 19487)
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Fri, 20 Oct 2017 07:03:35 +0000 (09:03 +0200)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 25 Oct 2017 15:14:40 +0000 (12:14 -0300)
commit02a42f92eddef8dae5e155cf5137782c2907b63c
treedd9944e9e67daaaf2692a84152a9de84d66d55e2
parentd4bf488a2a13b77b76d216acf75234b36e5855f4
Bug 19513: More changes to MarkIssueReturned.t (after bug 19487)

This patch was initially created as QA follow-up on 19487.

$dbh is not used
$categorycode is no longer used
%item_branch_infos not used
$borrowernumber is obsoleted by using $patron
No real need for $anonymous_borrowernumber (Since MarkIssueReturned returns
undef rightaway for an invalid itemnumber, the privacy stuff is irrelevant.)
No AddMember calls, removing unneeded modules

Adding a test that calls MarkIssueReturned on an item already returned.

Test plan:
[1] Run t/db_dependent/Circulation/MarkIssueReturned.t

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
t/db_dependent/Circulation/MarkIssueReturned.t