]> git.koha-community.org Git - koha.git/commit
Bug 30399: Make Patron.t pass even if mandatory attributes exist
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 8 Jun 2022 09:39:43 +0000 (11:39 +0200)
committerLucas Gass <lucas@bywatersolutions.com>
Wed, 13 Jul 2022 19:07:43 +0000 (19:07 +0000)
commitefcd9f87986099c9534df91eba263e9a24bc7b78
treec7032591f8382eee8a70a0c216475d05122115d9
parentffbaee5afa37d285af62da22940602e11bd0be03
Bug 30399: Make Patron.t pass even if mandatory attributes exist

t/db_dependent/Koha/Patron.t is failing if mandatory attributes already
exist in the DB. We can make it pass easily by deleting all the
attributes before we run the tests.

Test plan:
  prove t/db_dependent/Koha/Patron.t
must return green even if one mandatory patron attribute exists.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 523a2f297d09015818eec2785de5cc538ff65852)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
t/db_dependent/Koha/Patron.t