Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 079136e commit d4ede9aCopy full SHA for d4ede9a
src/Symfony/Component/Routing/Tests/Requirement/EnumRequirementTest.php
@@ -33,7 +33,7 @@ public function testNotABackedEnum()
33
public function testCaseNotABackedEnum()
34
{
35
$this->expectException(InvalidArgumentException::class);
36
- $this->expectExceptionMessage('Case "string" is not a \BackedEnum class.');
+ $this->expectExceptionMessage('Case must be a \BackedEnum instance, "string" given.');
37
38
new EnumRequirement(TestStringBackedEnum::class, ['wrong']);
39
}
0 commit comments