[Koha-bugs] [Bug 26984] Tests are failing if AnonymousPatron is configured

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Nov 17 10:46:23 CET 2020


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

--- Comment #9 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
(In reply to Tomás Cohen Arazi from comment #8)
> I expected this patch to touch t::lib::TestBuilder. Am I missing something?

I don't understand, can you explain?

If the AnonymousPatron syspref is defined BEFORE you run the tests, then the
deletion will fail. We need to adjust the tests to not remove the existing
patrons we have in DB. This is an assumption we should keep in mind for all
tests and all data (there are few exceptions however).

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


More information about the Koha-bugs mailing list