Bug 27342: (QA follow-up) Fix test

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Tomás Cohen Arazi 2022-08-16 10:50:47 -03:00
parent a433573054
commit 21e4995a31
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F

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 {