Bug 19209 [Followup] - Ensure checkouts don't prevent deleting patrons
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
8c90bb78c9
commit
9d207f3832
|
|
@ -216,7 +216,8 @@ subtest '->is_paged and ->pager tests' => sub {
|
|||
$schema->storage->txn_begin;
|
||||
|
||||
# Delete existing patrons
|
||||
Koha::Patrons->search->delete;
|
||||
Koha::Checkouts->delete;
|
||||
Koha::Patrons->delete;
|
||||
# Create 10 patrons
|
||||
foreach (1..10) {
|
||||
$builder->build_object({ class => 'Koha::Patrons' });
|
||||
|
|
|
|||
Loading…
Reference in New Issue