https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33013

--- Comment #13 from Peter Vashchuk <[email protected]> ---
Created attachment 212254
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=212254&action=edit
Bug 33013: Use the test patron as circulation operator

Pass the patron created by the test to mock_userenv instead of relying
on its fallback borrowernumber. This keeps the checkout and checkin
tests independent of sample data.

Steps to reproduce:
1. Use a database without sample patrons.
2. Run:
   prove t/db_dependent/Koha/Pseudonymization.t
3. Confirm the circulation tests pass without a checkin user_id
   foreign-key error.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to