-
Improvement
-
Resolution: Fixed
-
Minor
-
2.6
-
MOODLE_26_STABLE
-
MOODLE_27_STABLE
-
w51_
MDL-43213_m27_simplebehat -
-
8
-
BACKEND Sprint 8
While testing behat settings recently I was confused by the settings and later even more when looking at the code itself. Here is my attempt to simplify all this:
1/ always require 3 behat settings - $CFG->behat_wwwroot, $CFG->behat_dataroot and $CFG->behat_prefix
2/ cleanup script init code
3/ do not require $CFG->wwwroot and $CFG->dataroot on test sites
4/ remove switch completely - the most confusing part for me
5/ print out behat_wwwwroot in init script so that you can test the test site manually