[Koha-bugs] [Bug 30596] api/v1/acquisitions_baskets.t is failing randomly

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Apr 22 13:26:17 CEST 2022


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

--- Comment #7 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
(In reply to Nick Clemens from comment #4)
> (In reply to Jonathan Druart from comment #2)
> > This is a bit ugly, and we will need to reuse it in (at least)
> > api/v1/acquisitions_funds.t
> > 
> > See 
> > commit 9bbbed2a4024311cbbd9b828eba0512f63069735
> > Bug 30055: API unit tests
> > 
> > Tomas, did you deal with that already in other REST api tests?
> 
> Why not:
> +    $superlibrarian->discard_changes;
> +    $patron_with_permission->discard_changes;

Yes, I think I actually focused on the wrong thing. updated_on is modified
because of the set_password call. Having an up-to-date object should fix the
problem. Thanks, Nick!

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list