https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30596
--- Comment #7 from Jonathan Druart <[email protected]> --- (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. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
