MDL-38825 behat: fix composer install url
authorEloy Lafuente (stronk7) <stronk7@moodle.org>
Mon, 1 Apr 2013 16:55:34 +0000 (18:55 +0200)
committerEloy Lafuente (stronk7) <stronk7@moodle.org>
Mon, 1 Apr 2013 16:55:34 +0000 (18:55 +0200)
admin/tool/behat/cli/init.php

index 1916367..ca68c16 100644 (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);
         }