Skip to content

Commit 79ff347

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

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/Magento/FunctionalTestingFramework/Console/BaseGenerateCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ protected function removeGeneratedDirectory(OutputInterface $output, bool $verbo
7070
}
7171

7272
/**
73-
* Returns a 2D array of tests with their suites references that can be encoded into a json test configuration
73+
* Returns an array of test configuration to be used as an argument for generation of tests
7474
* @param array $tests
7575
* @return false|string
7676
* @throws \Magento\FunctionalTestingFramework\Exceptions\XmlException

src/Magento/FunctionalTestingFramework/Console/RunTestCommand.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
8585
//set directory as suite name for tests in suite, if not set to "default"
8686
if (strpos($test, ':')) {
8787
list($suite, $testName) = explode(":", $test);
88-
}
89-
else {
88+
} else {
9089
list($suite, $testName) = [TestGenerator::DEFAULT_DIR, $test];
9190
}
9291
$testGroup = $suite . DIRECTORY_SEPARATOR;

0 commit comments

Comments
 (0)