Skip to content

Commit 2b05e07

Browse files
committed
Use PHPUnit 9.6 to run Symfony's test suite
1 parent c2314d8 commit 2b05e07

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)