Skip to content

Commit bf16037

Browse files
author
Ivan Gavryshko
committed
MAGETWO-38838: Create composer management library and reuse it in both updater and setup wizard
- fixed according to CR
1 parent 1f0efef commit bf16037

7 files changed

+4
-1153
lines changed

dev/tests/unit/MagentoComposerApplicationTest.php renamed to Tests/Composer/MagentoComposerApplicationTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ function testWrongExitCode()
7878

7979
function testRunCommand()
8080
{
81-
$inputData = ['command'=>'update', '--working-dir' => '.'];
81+
$inputData = ['command' => 'update', MagentoComposerApplication::COMPOSER_WORKING_DIR => '.'];
8282

8383
$this->application->setConfig('path1', 'path2');
8484
$this->composerApplication->expects($this->once())->method('resetComposer');

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
},
1818
"autoload": {
1919
"psr-4": {
20-
"Magento\\": "app/code/Magento/"
20+
"Magento\\Composer\\": "src"
2121
}
2222
}
2323
}

0 commit comments

Comments
 (0)