Bug 21787: Remove unecessary test from GetHardDueDate.t

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>
This commit is contained in:
Jonathan Druart 2018-11-08 11:21:59 -03:00 committed by Tomas Cohen Arazi
parent 8205305b4f
commit fa7b2ad08b
1 changed files with 1 additions and 8 deletions

View 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');
@ -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(