Skip to content

Commit 098bd10

Browse files
authored
Merge pull request #8052 from kenjis/fix-BaseConnectionTest-testStoresConnectionTimings
test: fix assertion in BaseConnectionTest::testStoresConnectionTimings()
2 parents 2fe4f94 + 054061a commit 098bd10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/system/Database/BaseConnectionTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ public function testStoresConnectionTimings(): void
122122
$db->initialize();
123123

124124
$this->assertGreaterThan($start, $db->getConnectStart());
125-
$this->assertGreaterThan(0.0, $db->getConnectDuration());
125+
$this->assertGreaterThanOrEqual(0.0, $db->getConnectDuration());
126126
}
127127

128128
/**

0 commit comments

Comments
 (0)