Skip to content

Commit

Permalink
MDL-76820 core_search: Reset manager::$coursedeleting between tests
Browse files Browse the repository at this point in the history
  • Loading branch information
cameron1729 committed Jan 12, 2023
1 parent da216a5 commit 8ee9748
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions search/classes/manager.php
Expand Up @@ -617,6 +617,8 @@ public static function clear_static() {
static::$allsearchareas = null;
static::$instance = null;
static::$searchareacategories = null;
static::$coursedeleting = [];
static::$phpunitfaketime = null;

base_block::clear_static();
engine::clear_users_cache();
Expand Down

0 comments on commit 8ee9748

Please sign in to comment.