Bug 16966: Make the tests pass again
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 20 Dec 2016 10:08:35 +0000 (10:08 +0000)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 3 Mar 2017 17:20:03 +0000 (17:20 +0000)
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

t/db_dependent/Koha/Patrons.t

index e761e08..2de5877 100644 (file)
@@ -490,6 +490,7 @@ subtest 'checkouts + get_overdues' => sub {
     # Clean stuffs
     Koha::Checkouts->search( { borrowernumber => $patron->borrowernumber } )->delete;
     $patron->delete;
+    $module->unmock('userenv');
 };
 
 subtest 'get_age' => sub {