10000 Rename skipOnWindows helper method · symfony/symfony@1346cb6 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1346cb6

Browse files
Rename skipOnWindows helper method
1 parent 79dd8bb commit 1346cb6

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public function testToString()
5555

5656
public function testToIsUsedWhenRecipientsAreNotSet()
5757
{
58-
$this->skipWhenWindows();
58+
$this->skipOnWindows();
5959

6060
$mail = new Email();
6161
$mail
@@ -75,7 +75,7 @@ public function testToIsUsedWhenRecipientsAreNotSet()
7575

7676
public function testRecipientsAreUsedWhenSet()
7777
{
78-
$this->skipWhenWindows();
78+
$this->skipOnWindows();
7979

8080
[$mail, $envelope] = $this->defaultMailAndEnvelope();
8181

@@ -87,7 +87,7 @@ public function testRecipientsAreUsedWhenSet()
8787

8888
public function testThrowsTransportExceptionOnFailure()
8989
{
90-
$this->skipWhenWindows();
90+
$this->skipOnWindows();
9191

9292
[$mail, $envelope] = $this->defaultMailAndEnvelope();
9393

@@ -104,7 +104,7 @@ public function testThrowsTransportExceptionOnFailure()
104104

105105
public function testStreamIsClearedOnFailure()
106106
{
107-
$this->skipWhenWindows();
107+
$this->skipOnWindows();
108108

109109
[$mail, $envelope] = $this->defaultMailAndEnvelope();
110110

@@ -124,7 +124,7 @@ public function testStreamIsClearedOnFailure()
124124

125125
public function testDoesNotThrowWhenInteractive()
126126
{
127-
$this->skipWhenWindows();
127+
$this->skipOnWindows();
128128

129129
[$mail, $envelope] = $this->defaultMailAndEnvelope();
130130

@@ -161,7 +161,7 @@ public function __toString(): string
161161
$this->assertStringEqualsFile($this->argsPath, __DIR__.'/Fixtures/fake-failing-sendmail.php -bs');
162162
}
163163

164-
private function skipWhenWindows()
164+
private function skipOnWindows()
165165
{
166166
if ('\\' === \DIRECTORY_SEPARATOR) {
167167
$this->markTestSkipped('Windows does not support shebangs nor non-blocking standard streams');

0 commit comments

Comments
 (0)
0