From: Jonathan Druart Date: Tue, 20 Dec 2016 17:07:40 +0000 (+0100) Subject: Bug 17783: Replace ok with is X-Git-Tag: v17.05.00~1021 X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=commitdiff_plain;h=2fe2ef41bd8bf2f142597e39f493edbdbf75c8a3;p=koha-ffzg.git Bug 17783: Replace ok with is Signed-off-by: Jonathan Druart Signed-off-by: Kyle M Hall --- diff --git a/t/db_dependent/Koha/IssuingRules.t b/t/db_dependent/Koha/IssuingRules.t index 847f971fb3..2285be10f0 100644 --- a/t/db_dependent/Koha/IssuingRules.t +++ b/t/db_dependent/Koha/IssuingRules.t @@ -47,7 +47,8 @@ subtest 'get_effective_issuing_rule' => sub { my $rule; Koha::IssuingRules->delete; - ok(!Koha::IssuingRules->search->count, 'There are no issuing rules.'); + + is(Koha::IssuingRules->search->count, 0, 'There are no issuing rules.'); $rule = Koha::IssuingRules->get_effective_issuing_rule({ branchcode => undef, categorycode => undef, @@ -76,7 +77,7 @@ subtest 'get_effective_issuing_rule' => sub { my $rule; Koha::IssuingRules->delete; - ok(!Koha::IssuingRules->search->count, 'There are no issuing rules.'); + is(Koha::IssuingRules->search->count, 0, 'There are no issuing rules.'); $rule = Koha::IssuingRules->get_effective_issuing_rule({ branchcode => $branchcode, categorycode => $categorycode,