Skip to content

Commit 02d4bc6

Browse files
Manjusha.SManjusha.S
authored andcommitted
MQE-3096 : unit tests for GenerateTestFailedCommandTest and RunTestFailedCommandTest
1 parent d013074 commit 02d4bc6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ public function testSingleSuiteAndNoTest(): void
9393
$testFileReturn = [
9494
"tests/functional/tests/MFTF/_generated/SomeSpecificSuite/",
9595
];
96-
$expectedConfiguration = '{"tests":null,"suites":{"SomeSpecificSuite":[null]}}';
96+
$expectedConfiguration = '{"tests":null,"suites":{"SomeSpecificSuite":[[]]}}';
9797

9898
// Create a stub for the SomeClass class.
9999
$stub = $this->getMockBuilder(GenerateTestFailedCommand::class)
@@ -143,7 +143,7 @@ public function testMultipleSuitesWithNoTests(): void
143143
"tests/functional/tests/MFTF/_generated/SomeSpecificSuite1/",
144144

145145
];
146-
$expectedConfiguration = '{"tests":null,"suites":{"SomeSpecificSuite":[null],"SomeSpecificSuite1":[null]}}';
146+
$expectedConfiguration = '{"tests":null,"suites":{"SomeSpecificSuite":[[]],"SomeSpecificSuite1":[[]]}}';
147147

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

0 commit comments

Comments
 (0)