Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d4ede9a

Browse files
authored
Fix test
1 parent 079136e commit d4ede9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Routing/Tests/Requirement/EnumRequirementTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public function testNotABackedEnum()
3333
public function testCaseNotABackedEnum()
3434
{
3535
$this->expectException(InvalidArgumentException::class);
36-
$this->expectExceptionMessage('Case "string" is not a \BackedEnum class.');
36+
$this->expectExceptionMessage('Case must be a \BackedEnum instance, "string" given.');
3737

3838
new EnumRequirement(TestStringBackedEnum::class, ['wrong']);
3939
}

0 commit comments

Comments
 (0)