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-10 13:17:08 +01:00
committed by Eloy Lafuente (stronk7)
parent fb0b522035
commit dccf9ca308
4 changed files with 134 additions and 0 deletions
+1
View File
@@ -216,6 +216,7 @@ class phpunit_util extends testing_util {
filter_manager::reset_caches();
core_filetypes::reset_caches();
\core_search\manager::clear_static();
core_user::reset_caches();
// Reset static unit test options.
if (class_exists('\availability_date\condition', false)) {