Skip to content

Commit 4023239

Browse files
committed
MAGETWO-32081: Magento vendor name is used as a home framework directory
1 parent e652689 commit 4023239

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

dev/tests/functional/lib/Magento/Mtf/App/State/AbstractState.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ public function apply()
3939
*/
4040
public function clearInstance()
4141
{
42-
$dirList = \Magento\Mtf\ObjectManagerFactory::getObjectManager()->get('Magento\Framework\Filesystem\DirectoryList');
42+
$dirList = \Magento\Mtf\ObjectManagerFactory::getObjectManager()
43+
->get('Magento\Framework\Filesystem\DirectoryList');
4344
$deploymentConfig = new \Magento\Framework\App\DeploymentConfig(
4445
new \Magento\Framework\App\DeploymentConfig\Reader($dirList),
4546
[]

dev/tests/functional/testsuites/Magento/Mtf/TestSuite/InjectableTests.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,8 @@ private function initObjectManager()
100100
MTF_BP . '/testsuites/' . $_ENV['testsuite_rule_path'] . '/' . $configurationFileName . '.xml'
101101
);
102102
/** @var \Magento\Mtf\TestRunner\Configuration $testRunnerConfiguration */
103-
$testRunnerConfiguration = $objectManagerFactory->getObjectManager()->get('\Magento\Mtf\TestRunner\Configuration');
103+
$testRunnerConfiguration = $objectManagerFactory->getObjectManager()
104+
->get('\Magento\Mtf\TestRunner\Configuration');
104105
$testRunnerConfiguration->load($confFilePath);
105106
$testRunnerConfiguration->loadEnvConfig();
106107

0 commit comments

Comments
 (0)