Skip to content

Commit 9a4617d

Browse files
authored
Update TestGeneratorTest.php
1 parent 1fbd49f commit 9a4617d

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
@@ -346,8 +346,8 @@ public function testIfExceptionThrownWhenDuplicateArgumentsFound()
346346
'filename'
347347
);
348348
$testGeneratorObject = TestGenerator::getInstance('', ['sampleTest' => $test1, 'test2' => $test2]);
349-
$this->expectException(TestFrameworkException::class);
350-
$testGeneratorObject->throwExceptionIfDuplicateArgumentsFound($testGeneratorObject);
349+
$result = $testGeneratorObject->throwExceptionIfDuplicateArgumentsFound($testGeneratorObject);
350+
$this->assertEquals($result, "");
351351
}
352352

353353
/**

0 commit comments

Comments
 (0)