Skip to content

Commit 3541230

Browse files
authored
Update TestGenerator.php
1 parent 011925b commit 3541230

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/Magento/FunctionalTestingFramework/Util/TestGenerator.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -269,10 +269,6 @@ public function throwExceptionIfDuplicateArgumentsFound(string $fileContents)
269269
$err[] = 'Duplicate argument name '.$arrVal.' not allowed in helper or actionGroup';
270270
throw new TestFrameworkException(implode(PHP_EOL, $err));
271271
}
272-
if (!empty($argArr[$key + 2]) && $argArr[$key + 2] === $arrVal) {
273-
$err[] = 'Duplicate argument name '.$arrVal.' not allowed in helper or actionGroup';
274-
throw new TestFrameworkException(implode(PHP_EOL, $err));
275-
}
276272
}
277273
}
278274

0 commit comments

Comments
 (0)