[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 11:58:59 CET 2020


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

--- Comment #10 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
(In reply to Jonathan Druart from comment #9)
> (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).

To make sure that by default we don't generate an anonymous user.

I agree we shouldn't delete all, generally.

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


More information about the Koha-bugs mailing list