Koha/t/db_dependent/Patron
Jonathan Druart ca124b5c14 Bug 21817: Centralize the mock of userenv from tests
This patch adds a new method mock_userenv from t::lib::Mocks in order to
simplify the mock of the userenv.

Test plan:
prove all the test files modified by this patch

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
2019-01-02 20:18:29 +00:00
..
Borrower_Debarments.t Bug 20287: Replace occurrences of AddMember with Koha::Patron->new->store->borrowernumber 2018-07-18 15:49:47 +00:00
Borrower_Discharge.t Bug 21817: Centralize the mock of userenv from tests 2019-01-02 20:18:29 +00:00
Borrower_Files.t Bug 20287: Replace occurrences of AddMember with Koha::Patron->new->store->borrowernumber 2018-07-18 15:49:47 +00:00
Borrower_PrevCheckout.t Bug 21817: Centralize the mock of userenv from tests 2019-01-02 20:18:29 +00:00
Housebound.t Bug 18292: Remove return 1 statements in tests 2017-08-15 12:17:42 -03:00
HouseboundProfiles.t Bug 18292: Remove return 1 statements in tests 2017-08-15 12:17:42 -03:00
HouseboundRoles.t Bug 19867: Prevent HouseboundRoles.t to fail randomly 2017-12-21 15:40:17 -03:00
HouseboundVisits.t Bug 18292: Remove return 1 statements in tests 2017-08-15 12:17:42 -03:00