Skip to content

Commit e5e8744

Browse files
committed
MQE-510: Output from robo generate:tests contains --env chrome parameters
- Use PHP_EOL instead of '\n'
1 parent afe9083 commit e5e8744

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Magento/FunctionalTestingFramework/Util/TestManifest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public function recordCest($cestName, $tests)
7474

7575
foreach ($tests as $test) {
7676
$line = $this->relativeDirPath . DIRECTORY_SEPARATOR . $cestName . '.php:' . $test->getName();
77-
fwrite($fileResource, $line . "\n");
77+
fwrite($fileResource, $line . PHP_EOL);
7878
}
7979

8080
fclose($fileResource);
@@ -90,7 +90,7 @@ public function recordPathToExportDir()
9090
{
9191
$fileResource = fopen($this->filePath, 'a');
9292
$line = $this->relativeDirPath . DIRECTORY_SEPARATOR;
93-
fwrite($fileResource, $line . "\n");
93+
fwrite($fileResource, $line . PHP_EOL);
9494
fclose($fileResource);
9595
}
9696
}

0 commit comments

Comments
 (0)