Koha/t/db_dependent/Circulation
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
..
IssuingRules Bug 21817: Centralize the mock of userenv from tests 2019-01-02 20:18:29 +00:00
Branch.t
CalcDateDue.t
CalcFine.t
Chargelostitem.t
CheckIfIssuedToPatron.t Bug 14334: Remove AutoCommit from tests 2018-12-14 13:42:37 +00:00
CheckValidBarcode.t Bug 14334: Remove AutoCommit from tests 2018-12-14 13:42:37 +00:00
dateexpiry.t
GetHardDueDate.t Bug 14334: Remove AutoCommit from tests 2018-12-14 13:42:37 +00:00
GetPendingOnSiteCheckouts.t
GetTopIssues.t
IsItemIssued.t Bug 21817: Centralize the mock of userenv from tests 2019-01-02 20:18:29 +00:00
issue.t Bug 21817: Centralize the mock of userenv from tests 2019-01-02 20:18:29 +00:00
MarkIssueReturned.t Bug 21817: Centralize the mock of userenv from tests 2019-01-02 20:18:29 +00:00
NoIssuesChargeGuarantees.t
OfflineOperation.t Bug 14334: Remove AutoCommit from tests 2018-12-14 13:42:37 +00:00
Returns.t
StoreLastBorrower.t
SwitchOnSiteCheckouts.t Bug 21817: Centralize the mock of userenv from tests 2019-01-02 20:18:29 +00:00
TooMany.t Bug 21817: Centralize the mock of userenv from tests 2019-01-02 20:18:29 +00:00
transfers.t