MDL-50705 core_user: introduce new fill_properties_cache()

Also the get_property_definition() was created to get the property without retrieve the whole definition cache and
    unit tests were created to tests those new methods.
This commit is contained in:
Simey Lameze
2016-03-09 18:33:09 +01:00
committed by Eloy Lafuente (stronk7)
parent a034f66e0b
commit 61da84e414
4 changed files with 137 additions and 0 deletions
+1
View File
@@ -215,6 +215,7 @@ class phpunit_util extends testing_util {
get_message_processors(false, true, true);
filter_manager::reset_caches();
core_filetypes::reset_caches();
core_user::reset_caches();
// Reset static unit test options.
if (class_exists('\availability_date\condition', false)) {