From 21e4995a3163de70a4744f47f015c98614ed03f9 Mon Sep 17 00:00:00 2001
From: Tomas Cohen Arazi <tomascohen@theke.io>
Date: Tue, 16 Aug 2022 10:50:47 -0300
Subject: [PATCH] Bug 27342: (QA follow-up) Fix test

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
---
 t/db_dependent/Log.t | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 {
-- 
2.34.1