File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
dev/tests/unit/Magento/FunctionalTestFramework/Util Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -347,7 +347,7 @@ public function testIfExceptionThrownWhenDuplicateArgumentsFound()
347347 );
348348 $ testGeneratorObject = TestGenerator::getInstance ('' , ['sampleTest ' => $ test1 , 'test2 ' => $ test2 ]);
349349 $ this ->expectException (TestFrameworkException::class);
350- $ testGeneratorObject ->throwExceptionIfDuplicateArgumentsFound ($ fileContents , $ test1 );
350+ $ testGeneratorObject ->throwExceptionIfDuplicateArgumentsFound ($ testGeneratorObject );
351351 }
352352
353353 /**
@@ -394,7 +394,7 @@ public function testIfExceptionNotThrownWhenDuplicateArgumentsNotFound()
394394 'filename '
395395 );
396396 $ testGeneratorObject = TestGenerator::getInstance ('' , ['sampleTest ' => $ test1 , 'test2 ' => $ test2 ]);
397- $ result = $ testGeneratorObject ->throwExceptionIfDuplicateArgumentsFound ($ fileContents , $ test1 );
397+ $ result = $ testGeneratorObject ->throwExceptionIfDuplicateArgumentsFound ($ testGeneratorObject );
398398 $ this ->assertEquals ($ result , "" );
399399 }
400400
You can’t perform that action at this time.
0 commit comments