Skip to content

Commit 4ad97cd

Browse files
author
David Verholen
committed
get tests running again after rebase
1 parent b76aebd commit 4ad97cd

File tree

3 files changed

+5
-11
lines changed

3 files changed

+5
-11
lines changed

src/MagentoHackathon/Composer/Magento/Installer/ModuleInstaller.php

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,9 @@
55

66
namespace MagentoHackathon\Composer\Magento\Installer;
77

8-
<<<<<<< HEAD
98
use Composer\Composer;
109
use Composer\IO\IOInterface;
1110

12-
=======
13-
>>>>>>> modified: src/MagentoHackathon/Composer/Magento/DeployManager.php
1411
/**
1512
* Class ModuleInstaller
1613
*
@@ -24,7 +21,6 @@ class ModuleInstaller extends MagentoInstallerAbstract
2421
const PACKAGE_TYPE = 'magento-module';
2522

2623
/**
27-
<<<<<<< HEAD
2824
* @param IOInterface $io
2925
* @param Composer $composer
3026
* @param string $type
@@ -37,8 +33,6 @@ public function __construct(IOInterface $io, Composer $composer, $type = self::P
3733
}
3834

3935
/**
40-
=======
41-
>>>>>>> modified: src/MagentoHackathon/Composer/Magento/DeployManager.php
4236
* Decides if the installer supports the given type
4337
*
4438
* @param string $packageType
@@ -49,4 +43,4 @@ public function supports($packageType)
4943
{
5044
return self::PACKAGE_TYPE === $packageType;
5145
}
52-
}
46+
}

tests/FullStackTest/home/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@
1313
"magento-hackathon/magento-composer-installer": "*"
1414
},
1515
"extra": {
16-
16+
"magento-root-dir": "root"
1717
}
1818
}

tests/MagentoHackathon/Composer/Magento/FullStack/GlobalPluginTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ protected function prepareCleanDirectories()
3131
public function testGlobalInstall()
3232
{
3333
$process = new Process(
34-
self::getComposerCommand().' global install',
34+
self::getComposerCommand().' global install ' . self::getComposerArgs(),
3535
self::getProjectRoot()
3636
);
3737
$process->setEnv( array('COMPOSER_HOME'=>self::getBasePath().'/home'));
@@ -44,7 +44,7 @@ public function testGlobalUpdate()
4444
{
4545

4646
$process = new Process(
47-
self::getComposerCommand().' global update',
47+
self::getComposerCommand().' global update ' . self::getComposerArgs(),
4848
self::getProjectRoot()
4949
);
5050
$process->setEnv( array('COMPOSER_HOME'=>self::getBasePath().'/home'));
@@ -53,4 +53,4 @@ public function testGlobalUpdate()
5353
$this->assertProcess($process);
5454
}
5555

56-
}
56+
}

0 commit comments

Comments
 (0)