MDL-86831 behat: Adopt behat paths to include public/
This commit is contained in:
@@ -109,7 +109,7 @@ Options:
|
||||
-h, --help Print out this help
|
||||
|
||||
Example from Moodle root directory:
|
||||
\$ php admin/tool/behat/cli/init.php --parallel=2
|
||||
\$ php public/admin/tool/behat/cli/init.php --parallel=2
|
||||
|
||||
More info in https://moodledev.io/general/development/tools/behat/running
|
||||
";
|
||||
|
||||
@@ -89,7 +89,7 @@ Options:
|
||||
-h, --help Print out this help
|
||||
|
||||
Example from Moodle root directory:
|
||||
\$ php admin/tool/behat/cli/run.php --tags=\"@javascript\"
|
||||
\$ php public/admin/tool/behat/cli/run.php --tags=\"@javascript\"
|
||||
|
||||
More info in https://moodledev.io/general/development/tools/behat/running
|
||||
";
|
||||
|
||||
@@ -102,7 +102,7 @@ Options:
|
||||
-h, --help Print out this help
|
||||
|
||||
Example from Moodle root directory:
|
||||
\$ php admin/tool/behat/cli/util.php --enable --parallel=4
|
||||
\$ php public/admin/tool/behat/cli/util.php --enable --parallel=4
|
||||
|
||||
More info in https://moodledev.io/general/development/tools/behat/running
|
||||
";
|
||||
|
||||
@@ -95,7 +95,7 @@ Options:
|
||||
-h, --help Print out this help
|
||||
|
||||
Example from Moodle root directory:
|
||||
\$ php admin/tool/behat/cli/util_single_run.php --enable
|
||||
\$ php public/admin/tool/behat/cli/util_single_run.php --enable
|
||||
|
||||
More info in https://moodledev.io/general/development/tools/behat/running
|
||||
";
|
||||
|
||||
@@ -132,7 +132,7 @@ try {
|
||||
$runner->init();
|
||||
} catch (Exception $e) {
|
||||
echo "Something is wrong with the behat setup.\n";
|
||||
echo " Please,try running \"php admin/tool/behat/cli/init.php\" from your Moodle root directory.\n";
|
||||
echo " Please,try running \"php public/admin/tool/behat/cli/init.php\" from your Moodle root directory.\n";
|
||||
exit(0);
|
||||
}
|
||||
|
||||
|
||||
@@ -178,7 +178,7 @@ class behat_hooks extends behat_base {
|
||||
|
||||
// Prevents using outdated data, upgrade script would start and tests would fail.
|
||||
if (!behat_util::is_test_data_updated()) {
|
||||
$commandpath = 'php admin/tool/behat/cli/init.php';
|
||||
$commandpath = 'php public/admin/tool/behat/cli/init.php';
|
||||
$message = <<<EOF
|
||||
Your behat test site is outdated, please run the following command from your Moodle dirroot to drop, and reinstall the Behat test site.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user