From c863888fbfd26a6b1e7b0356f7cd1351a2133256 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 8 Nov 2018 11:21:59 -0300 Subject: [PATCH] Bug 21787: Remove unecessary test from GetHardDueDate.t See description on the bug report for more info. --- t/db_dependent/Circulation/GetHardDueDate.t | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/t/db_dependent/Circulation/GetHardDueDate.t b/t/db_dependent/Circulation/GetHardDueDate.t index bfb624d93e..fe126ca8b6 100644 --- a/t/db_dependent/Circulation/GetHardDueDate.t +++ b/t/db_dependent/Circulation/GetHardDueDate.t @@ -7,7 +7,7 @@ use Koha::DateUtils; use Koha::IssuingRules; use Koha::Library; -use Test::More tests => 10; +use Test::More tests => 9; BEGIN { use_ok('C4::Circulation'); @@ -148,7 +148,6 @@ my $sampleissuingrule1 = { no_auto_renewal_after_hard_limit => undef, suspension_chargeperiod => 1, holds_per_day => undef, - note => undef, }; my $sampleissuingrule2 = { branchcode => $samplebranch2->{branchcode}, @@ -347,12 +346,6 @@ $sth->execute( $sampleissuingrule3->{article_requests}, ); -is_deeply( - Koha::IssuingRules->find({ categorycode => $samplecat->{categorycode}, itemtype => 'Book', branchcode => $samplebranch1->{branchcode} })->unblessed, - $sampleissuingrule1, - "GetIssuingCharge returns issuingrule1's informations" -); - #Test GetLoanLength is_deeply( C4::Circulation::GetLoanLength( -- 2.11.0