8000 minor #43749 [FrameworkBundle] relax expected exception message for f… · symfony/symfony@cfd53c3 · GitHub
[go: up one dir, main page]

Skip to content

Commit cfd53c3

Browse files
committed
minor #43749 [FrameworkBundle] relax expected exception message for forward-compatibility with 5.4 (xabbuh)
This PR was merged into the 5.3 branch. Discussion ---------- [FrameworkBundle] relax expected exception message for forward-compatibility with 5.4 | Q | A | ------------- | --- | Branch? | 5.3 | Bug fix 8000 ? | no | New feature? | no | Deprecations? | no | Tickets | | License | MIT | Doc PR | Commits ------- 7d66292 relax expected exception message for forward-compatibility with 5.4
2 parents 580c9e6 + 7d66292 commit cfd53c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/PhpFrameworkExtensionTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ public function testRateLimiterLockFactory()
126126
});
127127

128128
$this->expectException(OutOfBoundsException::class);
129-
$this->expectExceptionMessage('The argument "2" doesn\'t exist.');
129+
$this->expectExceptionMessageMatches('/^The argument "2" doesn\'t exist.*\.$/');
130130

131131
$container->getDefinition('limiter.without_lock')->getArgument(2);
132132
}

0 commit comments

Comments
 (0)
0