Bug 21787: Remove unecessary test from GetHardDueDate.t
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 8 Nov 2018 14:21:59 +0000 (11:21 -0300)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 28 Nov 2018 14:43:13 +0000 (15:43 +0100)
See description on the bug report for more info.

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit fa7b2ad08befb88866e850f2b7bba34841ff30b7)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 25fa54247998be1482424aa9f5598eec1f9d6199)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>

t/db_dependent/Circulation/GetHardDueDate.t

index c2b831f..9cbf5b1 100644 (file)
@@ -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');
@@ -344,12 +344,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(