https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43346 --- Comment #1 from Andreas Jonsson <andreas.jonsson@kreablo.se> --- Created attachment 203840 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=203840&action=edit Bug 43346: unit test for payment without userenv MarkIssueReturned needlessly fails when called from a session with no logged in user such as a script or anonymous callback. A specific application where this is a problem when completing a payment transaction in a plugin for opac online payment wich may be done via polling or callback. This unit test verifies that a payment can be completed when paying a fee for a lost item with MarkLostItemsAsReturned set to onpayment and no userenv set. -- You are receiving this mail because: You are watching all bug changes.