Skip to content

Commit 87ff278

Browse files
eddielaumazhalai
authored andcommitted
MAGETWO-38482: [Github] Install during integration test fails #1347
- fixed wrong current work directory
1 parent d3cbe9f commit 87ff278

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

dev/tests/integration/framework/Magento/TestFramework/Application.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,9 @@ public function __construct(
142142
$appMode,
143143
AutoloaderInterface $autoloadWrapper
144144
) {
145+
if (getcwd() != BP . '/dev/tests/integration') {
146+
chdir(BP . '/dev/tests/integration');
147+
}
145148
$this->_shell = $shell;
146149
$this->installConfigFile = $installConfigFile;
147150
$this->_globalConfigDir = realpath($globalConfigDir);

0 commit comments

Comments
 (0)