Skip to content

Commit

Permalink
MDL-32323 reset event handlers in phpunit test reset
Browse files Browse the repository at this point in the history
  • Loading branch information
skodak committed Apr 10, 2012
1 parent a0c5aff commit 812013b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/phpunit/lib.php
Expand Up @@ -423,6 +423,7 @@ public static function reset_all_data($logchanges = false) {
// reset all static caches
accesslib_clear_all_caches(true);
get_string_manager()->reset_caches();
events_get_handlers('reset');
//TODO: add more resets here and probably refactor them to new core function

// purge dataroot
Expand Down

0 comments on commit 812013b

Please sign in to comment.