We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a27976b commit 161acccCopy full SHA for 161accc
tests/Definition/Type/PhpEnumTypeTest.php
@@ -74,9 +74,7 @@ public function testValidParseValue(): void
74
public function testInvalidSerialize(): void
75
{
76
$this->expectException(SerializationError::class);
77
- $this->expectExceptionMessage(sprintf(
78
- 'Cannot serialize value Overblog\GraphQLBundle\Tests\Definition\Type\PhpEnumTypeTest as it must be an instance of enum',
79
- ));
+ $this->expectExceptionMessageMatches('/Cannot serialize value (.*) as it must be an instance of enum/');
80
81
$this->getEnum()->serialize(self::class);
82
}
0 commit comments