Skip to content

Commit 0cbcfe1

Browse files
committed
MQE-978: Create Test Coverage Around SuiteGenerator Class
- Removing CLEARED_MANIFESTS reference - Adjusting comment text
1 parent b57e7bf commit 0cbcfe1

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

dev/tests/unit/Magento/FunctionalTestFramework/Suite/SuiteGeneratorTest.php

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public function testGenerateSuite()
5050
$mockSuiteGenerator = SuiteGenerator::getInstance();
5151
$mockSuiteGenerator->generateSuite("basicTestSuite");
5252

53-
// assert on that expected suite is generated
53+
// assert that expected suite is generated
5454
$this->expectOutputString("Suite basicTestSuite generated to _generated/basicTestSuite." . PHP_EOL);
5555
}
5656

@@ -83,7 +83,7 @@ public function testGenerateAllSuites()
8383
$mockSuiteGenerator = SuiteGenerator::getInstance();
8484
$mockSuiteGenerator->generateAllSuites($exampleTestManifest);
8585

86-
// assert on created suite object
86+
// assert that expected suites are generated
8787
$this->expectOutputString("Suite basicTestSuite generated to _generated/basicTestSuite." . PHP_EOL);
8888
}
8989

@@ -99,10 +99,6 @@ private function setMockTestAndSuiteParserOutput($testData, $suiteData)
9999
$property->setAccessible(true);
100100
$property->setValue(null);
101101

102-
$property = new \ReflectionProperty(DefaultTestManifest::class, 'CLEARED_MANIFESTS');
103-
$property->setAccessible(true);
104-
$property->setValue(["sample/path"]);
105-
106102
// clear test object handler value to inject parsed content
107103
$property = new \ReflectionProperty(TestObjectHandler::class, 'testObjectHandler');
108104
$property->setAccessible(true);

0 commit comments

Comments
 (0)