diff --git a/t/db_dependent/Log.t b/t/db_dependent/Log.t index fd821252d3..cfdbab3102 100755 --- a/t/db_dependent/Log.t +++ b/t/db_dependent/Log.t @@ -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 {