Skip to content
Browse files

MDL-55117 behat: Re-initialise to ensure modified config is not used

As behat cli process is 1 run for features
Any modification in  will be reflected
in later runs on cli. In this case
- disabling enablebadges in block_badges.feature
- reflected while running cron in award_badges.feature
  • Loading branch information...
Rajesh Taneja
Rajesh Taneja committed Sep 14, 2016
1 parent 2ab8015 commit 32935e9bf6e3749af7c43deffa8aa4928cbd4ed3
Showing with 4 additions and 0 deletions.
  1. +4 −0 lib/behat/classes/util.php
@@ -342,5 +342,9 @@ public static function reset_all_data() {
// Inform data generator.
// Initialise $CFG with default values. This is needed for behat cli process, so we don't have modified
// $CFG values from the old run. @see set_config.

0 comments on commit 32935e9

Please sign in to comment.
You can’t perform that action at this time.