@@ -, +, @@ --- t/db_dependent/Koha/Acquisition/Booksellers.t | 17 ----------------- 1 file changed, 17 deletions(-) --- a/t/db_dependent/Koha/Acquisition/Booksellers.t +++ a/t/db_dependent/Koha/Acquisition/Booksellers.t @@ -39,11 +39,6 @@ subtest '->baskets() tests' => sub { $schema->storage->txn_begin(); - # Delete existing data - $schema->resultset('Aqorder')->delete(); - $schema->resultset('Aqbasket')->delete(); - Koha::Acquisition::Booksellers->delete(); - $schema->resultset('Subscription')->delete(); my $patron = $builder->build_object({ class => 'Koha::Patrons' }); my $vendor = $builder->build_object( { class => 'Koha::Acquisition::Booksellers' } ); @@ -67,12 +62,6 @@ subtest '->subscriptions() tests' => sub { $schema->storage->txn_begin(); - # Delete existing data - $schema->resultset('Aqorder')->delete(); - $schema->resultset('Aqbasket')->delete(); - Koha::Acquisition::Booksellers->delete(); - $schema->resultset('Subscription')->delete(); - my $vendor = $builder->build_object( { class => 'Koha::Acquisition::Booksellers' } ); is( $vendor->subscriptions->count, 0, 'Vendor has no subscriptions' ); @@ -154,12 +143,6 @@ subtest '->contacts() tests' => sub { $schema->storage->txn_begin(); - # Delete existing data - $schema->resultset('Aqorder')->delete(); - $schema->resultset('Aqbasket')->delete(); - Koha::Acquisition::Booksellers->delete(); - $schema->resultset('Subscription')->delete(); - my $vendor = $builder->build_object( { class => 'Koha::Acquisition::Booksellers' } ); is( $vendor->contacts->count, 0, 'Vendor has no contacts' ); --