We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04c1eae commit 923a519Copy full SHA for 923a519
src/Magento/FunctionalTestingFramework/Util/TestGenerator.php
@@ -261,7 +261,7 @@ public function assembleTestPhp($testObject)
261
{
262
// Throw exception if duplicate arguments found in helper or actionGroup
263
if (!empty($testObject->getFilename())) {
264
- $fileToArr = file($testObject->getFilename());
+ $fileToArr = explode("\n", file_get_contents($testObject->getFilename()));
265
$argArr = [];
266
foreach ($fileToArr as $key => $fileVal) {
267
if (strpos($fileVal, "<argument name") == true) {
0 commit comments