Skip to content

Commit d91a9af

Browse files
committed
Merge branch '6.1' into 6.2
* 6.1: fix expected exception message assertion
2 parents 1ba0798 + 4e4d0c1 commit d91a9af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/DependencyInjection/FrameworkExtensionTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ public function testFormCsrfProtection()
103103
public function testFormCsrfProtectionWithCsrfDisabled()
104104
{
105105
$this->expectException(\LogicException::class);
106-
$this->expectExceptionMessage('To use form CSRF protection `framework.csrf_protection` must be enabled.');
106+
$this->expectExceptionMessage('To use form CSRF protection, "framework.csrf_protection" must be enabled.');
107107

108108
$this->createContainerFromFile('form_csrf_disabled');
109109
}

0 commit comments

Comments
 (0)