Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 32cac1c

Browse filesBrowse files
committed
Remove duplicate catch block
1 parent a4dee4a commit 32cac1c
Copy full SHA for 32cac1c

File tree

1 file changed

+0
-10
lines changed
Filter options

1 file changed

+0
-10
lines changed

‎src/Symfony/Bundle/FrameworkBundle/Tests/Functional/CachePoolsTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/FrameworkBundle/Tests/Functional/CachePoolsTest.php
-10Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,6 @@ public function testRedisCachePools()
3939
throw $e;
4040
}
4141
$this->markTestSkipped($e->getMessage());
42-
} catch (\PHPUnit\Framework\Error\Warning $e) {
43-
if (0 !== strpos($e->getMessage(), 'unable to connect to')) {
44-
throw $e;
45-
}
46-
$this->markTestSkipped($e->getMessage());
4742
} catch (InvalidArgumentException $e) {
4843
if (0 !== strpos($e->getMessage(), 'Redis connection ')) {
4944
throw $e;
@@ -67,11 +62,6 @@ public function testRedisCustomCachePools()
6762
throw $e;
6863
}
6964
$this->markTestSkipped($e->getMessage());
70-
} catch (\PHPUnit\Framework\Error\Warning $e) {
71-
if (0 !== strpos($e->getMessage(), 'unable to connect to')) {
72-
throw $e;
73-
}
74-
$this->markTestSkipped($e->getMessage());
7565
}
7666
}
7767

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.