Skip to content

Commit af0f127

Browse files
committed
[Mailer] Skip new sendmail transport test on Windows
1 parent 227d166 commit af0f127

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Symfony/Component/Mailer/Tests/Transport/SendmailTransportTest.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,10 @@ public function testRecipientsAreUsedWhenSet()
9494

9595
public function testThrowsTransportExceptionOnFailure()
9696
{
97+
if ('\\' === \DIRECTORY_SEPARATOR) {
98+
$this->markTestSkipped('Windows does not support shebangs nor non-blocking standard streams');
99+
}
100+
97101
$mail = new Email();
98102
$mail
99103
->from('from@mail.com')

0 commit comments

Comments
 (0)