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()
347
347
);
348
348
$ testGeneratorObject = TestGenerator::getInstance ('' , ['sampleTest ' => $ test1 , 'test2 ' => $ test2 ]);
349
349
$ this ->expectException (TestFrameworkException::class);
350
- $ testGeneratorObject ->throwExceptionIfDuplicateArgumentsFound ($ fileContents , $ test1 );
350
+ $ testGeneratorObject ->throwExceptionIfDuplicateArgumentsFound ($ testGeneratorObject );
351
351
}
352
352
353
353
/**
@@ -394,7 +394,7 @@ public function testIfExceptionNotThrownWhenDuplicateArgumentsNotFound()
394
394
'filename '
395
395
);
396
396
$ testGeneratorObject = TestGenerator::getInstance ('' , ['sampleTest ' => $ test1 , 'test2 ' => $ test2 ]);
397
- $ result = $ testGeneratorObject ->throwExceptionIfDuplicateArgumentsFound ($ fileContents , $ test1 );
397
+ $ result = $ testGeneratorObject ->throwExceptionIfDuplicateArgumentsFound ($ testGeneratorObject );
398
398
$ this ->assertEquals ($ result , "" );
399
399
}
400
400
You can’t perform that action at this time.
0 commit comments