Bug 17783: Replace ok with is

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
Jonathan Druart 2016-12-20 18:07:40 +01:00 committed by Kyle M Hall
parent c5ca94df99
commit 2fe2ef41bd

View file

@ -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,