Skip to content

Commit 6af99ff

Browse files
no message
1 parent 8cb6321 commit 6af99ff

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/Integration/MartinGeorgiev/Doctrine/ORM/Query/AST/Functions/UuidExtractTimestampTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ public function can_extract_timestamp_from_uuid_v1(): void
3131

3232
$result = $this->executeDqlQuery($dql);
3333
$timestamp = $result[0]['result'];
34+
\assert(\is_string($timestamp));
3435

3536
$this->assertStringStartsWith('1998-02-02 20:23:12.90287', $timestamp);
3637
}
@@ -44,6 +45,7 @@ public function can_extract_timestamp_from_uuid_v7(): void
4445

4546
$result = $this->executeDqlQuery($dql);
4647
$timestamp = $result[0]['result'];
48+
\assert(\is_string($timestamp));
4749

4850
$this->assertStringStartsWith('2024-03-27 04:44:49.346', $timestamp);
4951
}

0 commit comments

Comments
 (0)