Skip to content

Commit 3282770

Browse files
committed
MQE-1703: Implicit Suite Generation for Tests
fixing unit tests
1 parent 5ba993a commit 3282770

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Magento/FunctionalTestingFramework/Console/RunTestCommand.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,10 @@ protected function execute(InputInterface $input, OutputInterface $output): int
8282
$testsDirectory = TESTS_MODULE_PATH . DIRECTORY_SEPARATOR . TestGenerator::GENERATED_DIR . DIRECTORY_SEPARATOR;
8383
//execute only tests specified as arguments in run command
8484
foreach ($resolvedTests as $test) {
85-
// for tests in suite, set directory as suite name
85+
//set directory as suite name for tests in suite, if not set to "default"
8686
if (strpos($test, ':')) {
8787
list($suite, $testName) = explode(":", $test);
8888
}
89-
// for standalone tests set directory as "default"
9089
else {
9190
list($suite, $testName) = [TestGenerator::DEFAULT_DIR, $test];
9291
}

0 commit comments

Comments
 (0)