Upstream cakephp/chronos state of the touched files before ed2ac06e75

This commit is contained in:
upstream committed 2026-09-04 09:47:39 +02:00
1 parent 49dbcb8c91
commit 7c2a7810d0
2 files changed
+1 -16

No files matched your search

-13
View File
@@ -53,19 +53,6 @@ class ChronosTimeTest extends TestCase
$this->assertSame('00:59:59.999999', $t->format('H:i:s.u'));
}
public function testConstructFromStringWithFractionalSeconds(): void
{
// The fractional part is a fraction of a second, matching DateTime.
$t = new ChronosTime('12:00:00.5');
$this->assertSame('12:00:00.500000', $t->format('H:i:s.u'));
$t = new ChronosTime('12:00:00.05');
$this->assertSame('12:00:00.050000', $t->format('H:i:s.u'));
$t = new ChronosTime('12:00:00.000005');
$this->assertSame('12:00:00.000005', $t->format('H:i:s.u'));
}
public function testConstructFromInstance(): void
{
$t = new ChronosTime(new DateTimeImmutable('23:59:59.999999'));