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:
parent
c5ca94df99
commit
2fe2ef41bd
1 changed files with 3 additions and 2 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue