We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5e7ac63 commit b31a6bbCopy full SHA for b31a6bb
tests/ResultTest.php
@@ -149,7 +149,10 @@ public function testGetTimestamp(): void
149
$this->result->setTimestamp(1633082116654);
150
151
self::assertInstanceOf(DateTimeInterface::class, $this->result->getTimestamp());
152
- self::assertSame('2021-10-01T11:55:16.000000+02:00', $this->result->getTimestamp()->format('Y-m-d\TH:i:s.uP'));
+
153
+ $timestamp = DateTime::createFromFormat('Y-m-d\TH:i:s', '2021-10-01T09:55:16');
154
155
+ self::assertSame($timestamp->format('Y-m-d\TH:i:s.uP'), $this->result->getTimestamp()->format('Y-m-d\TH:i:s.uP'));
156
}
157
158
public function testIsExecuted(): void
0 commit comments