Showing with 1 addition and 1 deletion.
  1. +1 −1 admin/tool/behat/cli/init.php
View
2 admin/tool/behat/cli/init.php
@@ -65,7 +65,7 @@
// 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);
}

0 comments on commit c5f6371

Please sign in to comment.