File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Tests/Transport/Smtp/Stream Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ class SocketStreamTest extends TestCase
18
18
{
19
19
/**
20
20
* @expectedException \Symfony\Component\Mailer\Exception\TransportException
21
- * @expectedExceptionMessage Connection refused
21
+ * @expectedExceptionMessageRegExp / Connection refused|unable to connect/
22
22
*/
23
23
public function testSocketErrorNoConnection ()
24
24
{
@@ -30,7 +30,7 @@ public function testSocketErrorNoConnection()
30
30
31
31
/**
32
32
* @expectedException \Symfony\Component\Mailer\Exception\TransportException
33
- * @expectedExceptionMessage no valid certs found cafile stream
33
+ * @expectedExceptionMessageRegExp / no valid certs found cafile stream|Unable to find the socket transport "ssl"/
34
34
*/
35
35
public function testSocketErrorBeforeConnectError ()
36
36
{
You can’t perform that action at this time.
0 commit comments