[Mailer] fixed tests on Windows
This commit is contained in:
parent
d18fd01c39
commit
90f61e9efa
|
@ -18,7 +18,7 @@ class SocketStreamTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @expectedException \Symfony\Component\Mailer\Exception\TransportException
|
* @expectedException \Symfony\Component\Mailer\Exception\TransportException
|
||||||
* @expectedExceptionMessage Connection refused
|
* @expectedExceptionMessageRegExp /Connection refused|unable to connect/
|
||||||
*/
|
*/
|
||||||
public function testSocketErrorNoConnection()
|
public function testSocketErrorNoConnection()
|
||||||
{
|
{
|
||||||
|
@ -30,7 +30,7 @@ class SocketStreamTest extends TestCase
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @expectedException \Symfony\Component\Mailer\Exception\TransportException
|
* @expectedException \Symfony\Component\Mailer\Exception\TransportException
|
||||||
* @expectedExceptionMessage no valid certs found cafile stream
|
* @expectedExceptionMessageRegExp /no valid certs found cafile stream|Unable to find the socket transport "ssl"/
|
||||||
*/
|
*/
|
||||||
public function testSocketErrorBeforeConnectError()
|
public function testSocketErrorBeforeConnectError()
|
||||||
{
|
{
|
||||||
|
|
Reference in New Issue