Bug 27342: (QA follow-up) Fix test

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Tomas Cohen Arazi 2022-08-16 10:50:47 -03:00 committed by Wainui Witika-Park
parent f11737f987
commit e110f3cca5
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ subtest 'Existing tests' => sub {
t::lib::Mocks::mock_preference('CronjobLog',1);
cronlogaction();
is(Koha::ActionLogs->search({ module => 'CRONJOBS' })->count,0,"Cronjob logged as expected.");
is(Koha::ActionLogs->search({ module => 'CRONJOBS' })->count,1,"Cronjob logged as expected.");
};
subtest 'logaction(): interface is correctly logged' => sub {