]> git.koha-community.org Git - koha.git/commit
Bug 30275: Fix checkouts.t unit test
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 18 Mar 2022 13:57:32 +0000 (13:57 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 5 Jul 2022 12:46:08 +0000 (09:46 -0300)
commit27622d05b6e5d93c8f14f9ecf9ea115c889c0e6f
treed5cd47c47d02ebcb4960903ce6a50f7b906e0f1e
parent14a8e322e6e9e5ebe61756830dec6efe9f10db15
Bug 30275: Fix checkouts.t unit test

We no longer require a mocked userenv for these tests to pass, we're
setting the userenv in api auth now. The mock just serves to break tests
for the renew method now that AddRenewal required a correctly set
userenv for 'number'.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
t/db_dependent/api/v1/checkouts.t