From 464943bfe05d2047ce306b8c7cb77596392048df Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 12 Nov 2019 17:16:44 +0100 Subject: [PATCH] Bug 24022: Remove unecessary delete from authorised_values Why do we need that exactly? The cache is not flushed so it should not be needed. Signed-off-by: Nick Clemens --- t/db_dependent/Koha/Z3950Responder/Session.t | 3 --- 1 file changed, 3 deletions(-) diff --git a/t/db_dependent/Koha/Z3950Responder/Session.t b/t/db_dependent/Koha/Z3950Responder/Session.t index 59930810e9..33bfd4f527 100644 --- a/t/db_dependent/Koha/Z3950Responder/Session.t +++ b/t/db_dependent/Koha/Z3950Responder/Session.t @@ -19,9 +19,6 @@ subtest 'add_item_status' => sub { plan tests => 2; - # Make sure we are using default values set in code - $builder->schema->resultset( 'AuthorisedValue' )->delete_all; - ## FIRST ITEM HAS ALL THE STATUSES ## my $item_1 = $builder->build({ source => 'Item', -- 2.11.0