10000 minor #46988 fix expected exception message assertion (xabbuh) · zimny9932/symfony@1f0cece · GitHub
[go: up one dir, main page]

Skip to content

Commit 1f0cece

Browse files
committed
minor symfony#46988 fix expected exception message assertion (xabbuh)
This PR was merged into the 4.4 branch. Discussion ---------- fix expected exception message assertion | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | | License | MIT | Doc PR | Commits ------- fd98b24 fix expected exception message assertion
2 parents 080b8f3 + fd98b24 commit 1f0cece

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public function testFormCsrfProtection()
8787
public function testFormCsrfProtectionWithCsrfDisabled()
8888
{
8989
$this->expectException(\LogicException::class);
90-
$this->expectExceptionMessage('To use form CSRF protection `framework.csrf_protection` must be enabled.');
90+
$this->expectExceptionMessage('To use form CSRF protection, "framework.csrf_protection" must be enabled.');
9191

9292
$this->createContainerFromFile('form_csrf_disabled');
9393
}

0 commit comments

Comments
 (0)
0