]> 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)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 13 Jun 2022 13:28:31 +0000 (10:28 -0300)
commit523a2f297d09015818eec2785de5cc538ff65852
treeb9a17451e2d7c050f817adc18f6455d46ee84a43
parenta1739ea43bfb7110059446989483f3282784527c
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>
t/db_dependent/Koha/Patron.t