Bug 27342: (QA follow-up) Fix test
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
a433573054
commit
21e4995a31
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ subtest 'Existing tests' => sub {
|
||||||
|
|
||||||
t::lib::Mocks::mock_preference('CronjobLog',1);
|
t::lib::Mocks::mock_preference('CronjobLog',1);
|
||||||
cronlogaction();
|
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 {
|
subtest 'logaction(): interface is correctly logged' => sub {
|
||||||
|
|
Loading…
Reference in a new issue