From ffc782a67b4fe213fc242c18448d281632611e92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=B4me=20Chilliet?= Date: Thu, 7 Dec 2023 12:16:40 +0100 Subject: [PATCH] Adapt tests to severity change MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Côme Chilliet --- tests/Unit/SetupChecks/LogErrorsTest.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/Unit/SetupChecks/LogErrorsTest.php b/tests/Unit/SetupChecks/LogErrorsTest.php index a4e0bf6d..3d803108 100644 --- a/tests/Unit/SetupChecks/LogErrorsTest.php +++ b/tests/Unit/SetupChecks/LogErrorsTest.php @@ -60,10 +60,10 @@ public function logProvider(): array { $tooOld = (new \DateTime('1 month ago'))->format(\DateTime::ATOM); return [ [[], 'success'], - [[['level' => 2, 'time' => $now]], 'warning'], - [[['level' => 3, 'time' => $now]], 'error'], - [[['level' => 2, 'time' => $now],['level' => 3, 'time' => $now]], 'error'], - [[['level' => 2, 'time' => $now],['level' => 3, 'time' => $tooOld]], 'warning'], + [[['level' => 2, 'time' => $now]], 'info'], + [[['level' => 3, 'time' => $now]], 'warning'], + [[['level' => 2, 'time' => $now],['level' => 3, 'time' => $now]], 'warning'], + [[['level' => 2, 'time' => $now],['level' => 3, 'time' => $tooOld]], 'info'], [[['level' => 2, 'time' => $tooOld],['level' => 3, 'time' => $tooOld]], 'success'], ]; }