MDL-60600 core_output: Clear static icon system cache between unit tests
This commit is contained in:
@@ -145,5 +145,12 @@ abstract class icon_system {
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Clears the instance cache, for use in unit tests
|
||||
*/
|
||||
public static function reset_caches() {
|
||||
self::$instance = null;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user