Skip to content

Commit d6caf7e

Browse files
Merge branch '4.4' into 5.0
* 4.4: [PhpUnitBridge] add PolyfillTestCaseTrait::expectExceptionMessageMatches to provide FC with recent phpunit versions [Messenger] Make sure redis transports are initialized correctly Remove return type for Twig function workflow_metadata() [DI] fix typo
2 parents ee6edf7 + 49115b7 commit d6caf7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/Extension/Core/Type/CheckboxTypeTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ public function provideCustomFalseValues()
197197
public function testDontAllowNonArrayFalseValues()
198198
{
199199
$this->expectException('Symfony\Component\OptionsResolver\Exception\InvalidOptionsException');
200-
$this->expectExceptionMessageRegExp('/"false_values" with value "invalid" is expected to be of type "array"/');
200+
$this->expectExceptionMessageMatches('/"false_values" with value "invalid" is expected to be of type "array"/');
201201
$this->factory->create(static::TESTED_TYPE, null, [
202202
'false_values' => 'invalid',
203203
]);

0 commit comments

Comments
 (0)