From 054061aae60768f2a8254db782fcb079805b4794 Mon Sep 17 00:00:00 2001 From: kenjis Date: Tue, 17 Oct 2023 10:52:12 +0900 Subject: [PATCH] test: fix assertion There was 1 failure: 1) CodeIgniter\Database\BaseConnectionTest::testStoresConnectionTimings Failed asserting that '0.000000' is greater than 0.0. /home/runner/work/CodeIgniter4/CodeIgniter4/tests/system/Database/BaseConnectionTest.php:125 --- tests/system/Database/BaseConnectionTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/system/Database/BaseConnectionTest.php b/tests/system/Database/BaseConnectionTest.php index 4fb68358066b..51f92a747884 100644 --- a/tests/system/Database/BaseConnectionTest.php +++ b/tests/system/Database/BaseConnectionTest.php @@ -122,7 +122,7 @@ public function testStoresConnectionTimings(): void $db->initialize(); $this->assertGreaterThan($start, $db->getConnectStart()); - $this->assertGreaterThan(0.0, $db->getConnectDuration()); + $this->assertGreaterThanOrEqual(0.0, $db->getConnectDuration()); } /**