Skip to content

Commit c5d7994

Browse files
authored
Update TestGeneratorTest.php
1 parent 91e5267 commit c5d7994

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dev/tests/unit/Magento/FunctionalTestFramework/Util/TestGeneratorTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)