mirror of
https://github.com/ramsey/uuid.git
synced 2026-06-14 15:56:48 +03:00
test: update exception message for PHP 8.1
This commit is contained in:
+1
-2
@@ -1649,8 +1649,7 @@ class UuidTest extends TestCase
|
||||
|
||||
$this->expectException(DateTimeException::class);
|
||||
$this->expectExceptionMessage(
|
||||
'DateTimeImmutable::__construct(): Failed to parse time string '
|
||||
. '(@1234567890.1234567) at position 18 (7): Unexpected character'
|
||||
'Failed to parse time string (@1234567890.1234567) at position 18 (7): Unexpected character'
|
||||
);
|
||||
|
||||
$uuid->getDateTime();
|
||||
|
||||
Reference in New Issue
Block a user