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 public function testSocketErrorNoConnection ()
2020 {
21- $ this ->expectException (' Symfony\Component\Mailer\Exception\TransportException ' );
21+ $ this ->expectException (\ Symfony \Component \Mailer \Exception \TransportException::class );
2222 $ this ->expectExceptionMessageMatches ('/Connection refused|unable to connect/ ' );
2323 $ s = new SocketStream ();
2424 $ s ->setTimeout (0.1 );
@@ -28,7 +28,7 @@ public function testSocketErrorNoConnection()
2828
2929 public function testSocketErrorBeforeConnectError ()
3030 {
31- $ this ->expectException (' Symfony\Component\Mailer\Exception\TransportException ' );
31+ $ this ->expectException (\ Symfony \Component \Mailer \Exception \TransportException::class );
3232 $ this ->expectExceptionMessageMatches ('/no valid certs found cafile stream|Unable to find the socket transport "ssl"/ ' );
3333 $ s = new SocketStream ();
3434 $ s ->setStreamOptions ([
You can’t perform that action at this time.
0 commit comments