Bug 22107: patrons.t doesn't need to delete existing data
authorTomas Cohen Arazi <tomascohen@theke.io>
Fri, 11 Jan 2019 18:14:04 +0000 (15:14 -0300)
committerNick Clemens <nick@bywatersolutions.com>
Fri, 11 Jan 2019 18:48:51 +0000 (18:48 +0000)
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
t/db_dependent/api/v1/patrons.t

index 7c14801..8b28d77 100644 (file)
@@ -50,8 +50,6 @@ subtest 'list() tests' => sub {
 
         $schema->storage->txn_begin;
 
-        Koha::Patrons->search->delete;
-
         my ( $patron_id, $session_id ) = create_user_and_session({ authorized => 1 });
         my $patron = Koha::Patrons->find($patron_id);