From de932597d2649e8ea11082f90340a2b7e26ad209 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Wed, 11 Apr 2018 17:38:16 +0100 Subject: [PATCH] Bug 11897: (QA follow-up) Fix Koha/Libraries test - merge issues corrected --- t/db_dependent/Koha/Libraries.t | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/t/db_dependent/Koha/Libraries.t b/t/db_dependent/Koha/Libraries.t index 1d72f73442..ef6a10b6be 100644 --- a/t/db_dependent/Koha/Libraries.t +++ b/t/db_dependent/Koha/Libraries.t @@ -19,7 +19,7 @@ use Modern::Perl; -use Test::More tests => 12; +use Test::More tests => 6; use Koha::Library; use Koha::Libraries; @@ -53,9 +53,6 @@ is( $retrieved_library_1->branchname, $new_library_1->branchname, 'Find a librar $retrieved_library_1->delete; is( Koha::Libraries->search->count, $nb_of_libraries + 1, 'Delete should have deleted the library' ); -$retrieved_category_2->delete; -is( Koha::LibraryCategories->search->count, $nb_of_categories + 2, 'Delete should have deleted the library category' ); - # Stockrotation relationship testing my $new_library_sr = $builder->build({ source => 'Branch' }); -- 2.14.2