test: update exception message for PHP 8.1

This commit is contained in:
Ben Ramsey
2021-08-06 14:35:42 -05:00
parent 20fa0c9849
commit d7379b67af
+1 -2
View File
@@ -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();