-
Bug
-
Resolution: Fixed
-
Blocker
-
2.9.5, 3.0.3, 3.1
-
MOODLE_29_STABLE, MOODLE_30_STABLE, MOODLE_31_STABLE
-
MOODLE_29_STABLE, MOODLE_30_STABLE
-
MDL-53796_master -
Easy
-
- Add a debugging call to any script, login/index.php for example
- Run behat
- It should fail, but the message you should see is not get_debug_text not found, but the debugging message you wrote
I've just got a behat failure with the following text:
And I turn editing mode on # /home/davidm/Desktop/moodlecode/int/master/mod/assign/tests/behat/display_error_message_onbadformat.feature:25
|
Coding error detected, it must be fixed by a programmer: The "get_debug_text" method does not exist (coding_exception)
|
get_debug_text is defined in behat_hooks, and used in behat_base, should be moved to behat_base if I am not missing something