MDL-38825 behat: fix composer install url

This commit is contained in:
Eloy Lafuente (stronk7) 2013-04-01 18:55:34 +02:00
parent d8201d49d8
commit c5f6371f04

View File

@ -65,7 +65,7 @@ if ($code == 0) {
// Changing to moodle dirroot to run composer related commands at project level.
chdir(__DIR__ . '/../../../..');
if (!file_exists(__DIR__ . '/../../../../composer.phar')) {
passthru("curl http://getcomposer.org/install | php", $code);
passthru("curl http://getcomposer.org/installer | php", $code);
if ($code != 0) {
exit($code);
}