Skip to content

Commit 75ab612

Browse files
Merge branch '4.4' into 5.0
* 4.4: Fix exception messages containing exception messages
2 parents da16852 + 66bb33a commit 75ab612

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Tests/Functional/CachePoolsTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public function testRedisCachePools()
4545
}
4646
$this->markTestSkipped($e->getMessage());
4747
} catch (InvalidArgumentException $e) {
48-
if (0 !== strpos($e->getMessage(), 'Redis connection failed')) {
48+
if (0 !== strpos($e->getMessage(), 'Redis connection ')) {
4949
throw $e;
5050
}
5151
$this->markTestSkipped($e->getMessage());

Tests/Functional/DebugAutowiringCommandTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,6 @@ public function testNotConfusedByClassAliases()
107107

108108
$tester = new ApplicationTester($application);
109109
$tester->run(['command' => 'debug:autowiring', 'search' => 'ClassAlias']);
110-
$this->assertStringContainsString('Symfony\Bundle\FrameworkBundle\Tests\Fixtures\ClassAliasExampleClass (public)', $tester->getDisplay());
110+
$this->assertStringContainsString('Symfony\Bundle\FrameworkBundle\Tests\Fixtures\ClassAliasExampleClass', $tester->getDisplay());
111111
}
112112
}

0 commit comments

Comments
 (0)