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
1818{
1919 /**
2020 * @expectedException \Symfony\Component\Mailer\Exception\TransportException
21- * @expectedExceptionMessage Connection refused
21+ * @expectedExceptionMessageRegExp / Connection refused|unable to connect/
2222 */
2323 public function testSocketErrorNoConnection ()
2424 {
@@ -30,7 +30,7 @@ public function testSocketErrorNoConnection()
3030
3131 /**
3232 * @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"/
3434 */
3535 public function testSocketErrorBeforeConnectError ()
3636 {
You can’t perform that action at this time.
0 commit comments