Skip to content

Commit 7e291ee

Browse files
Merge branch '5.4' into 6.2
* 5.4: Use PHPUnit 9.6 to run Symfony's test suite [DependencyInjection] Add doc for RUNTIME_EXCEPTION_ON_INVALID_REFERENCE behavior
2 parents 66bf9ee + 2b05e07 commit 7e291ee

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Tests/Extension/Core/Type/ButtonTypeTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public function testFormAttrOnChild()
7272
public function testFormAttrAsBoolWithNoId()
7373
{
7474
$this->expectException(LogicException::class);
75-
$this->expectErrorMessage('form_attr');
75+
$this->expectExceptionMessage('form_attr');
7676
$this->factory
7777
->createNamedBuilder('', FormType::class, null, [
7878
'form_attr' => true,

Tests/Extension/Core/Type/FormTypeTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -809,7 +809,7 @@ public function testFormAttrOnChild()
809809
public function testFormAttrAsBoolWithNoId()
810810
{
811811
$this->expectException(LogicException::class);
812-
$this->expectErrorMessage('form_attr');
812+
$this->expectExceptionMessage('form_attr');
813813
$this->factory
814814
->createNamedBuilder('', self::TESTED_TYPE, null, [
815815
'form_attr' => true,

0 commit comments

Comments
 (0)