Skip to content

Commit 2486bd8

Browse files
Manjusha.SManjusha.S
Manjusha.S
authored and
Manjusha.S
committed
fixed unit test failure
1 parent c2b1dd0 commit 2486bd8

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

dev/tests/unit/Magento/FunctionalTestFramework/Console/GenerateTestFailedCommandTest.php

+4-2
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,10 @@ public function testMultipleTestsWithSuites(): void
4343
{
4444
$testFileReturn = [
4545
"tests/functional/tests/MFTF/_generated/SomeSpecificSuite/FirstTestSuiteTest.php:SingleTestSuiteTest",
46-
"tests/functional/tests/MFTF/_generated/SomeSpecificSuite/SecondTestNoSuiteTest.php:SingleTestNoSuiteTest", ];
47-
$expectedConfiguration = '{"tests":null,"suites":{"SomeSpecificSuite":["SingleTestSuiteTest","SingleTestNoSuiteTest"]}}';
46+
"tests/functional/tests/MFTF/_generated/SomeSpecificSuite/SecondTestNoSuiteTest.php:SingleTestNoSuiteTest"
47+
];
48+
$expectedConfiguration =
49+
'{"tests":null,"suites":{"SomeSpecificSuite":["SingleTestSuiteTest","SingleTestNoSuiteTest"]}}';
4850

4951
// Create a stub for the SomeClass class.
5052
$stub = $this->getMockBuilder(GenerateTestFailedCommand::class)

0 commit comments

Comments
 (0)