See Release Notes
Long Term Support Release
Differences Between: [Versions 310 and 401] [Versions 311 and 401] [Versions 39 and 401] [Versions 400 and 401] [Versions 401 and 403]
(no description)
File Size: | 885 lines (38 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
user_test:: (22 methods):
setUp()
test_get_user()
test_get_user_by_username()
test_search()
test_search_with_count()
test_search_group_permissions()
test_search_deleted_users()
init_search_tests()
test_require_active_user()
test_get_property_definition()
test_validate()
test_clean_data()
test_clean_field()
test_get_property_type()
test_get_property_null()
test_get_property_choices()
test_get_property_default()
test_get_noreply_user()
test_is_real_user()
test_awaiting_action()
test_get_initials()
user_name_provider()
setUp() X-Ref |
Setup test data. |
test_get_user() X-Ref |
No description |
test_get_user_by_username() X-Ref |
Test get_user_by_username method. |
test_search() X-Ref |
No description |
test_search_with_count() X-Ref |
Tests the search() function with limits on the number to return. |
test_search_group_permissions() X-Ref |
When course is in separate groups mode and user is a student, they can't see people who are not in the same group. This is checked by the user profile permission thing and not currently by the original query. |
test_search_deleted_users() X-Ref |
When course is in separate groups mode and user is a student, they can't see people who are not in the same group. This is checked by the user profile permission thing and not currently by the original query. |
init_search_tests() X-Ref |
Carries out standard setup for the search test functions. |
test_require_active_user() X-Ref |
Test require_active_user |
test_get_property_definition() X-Ref |
Test get_property_definition() method. |
test_validate() X-Ref |
Test validate() method. |
test_clean_data() X-Ref |
Test clean_data() method. |
test_clean_field() X-Ref |
Test clean_field() method. |
test_get_property_type() X-Ref |
Test get_property_type() method. |
test_get_property_null() X-Ref |
Test get_property_null() method. |
test_get_property_choices() X-Ref |
Test get_property_choices() method. |
test_get_property_default() X-Ref |
Test get_property_default(). |
test_get_noreply_user() X-Ref |
Ensure that the noreply user is not cached. |
test_is_real_user() X-Ref |
Test is_real_user method. |
test_awaiting_action() X-Ref |
Tests for the {@see \core_user::awaiting_action()} method. |
test_get_initials(array $userdata, string $fullnameconfig, string $expected) X-Ref |
Test that user with Letter avatar respect language preference. param: array $userdata param: string $fullnameconfig param: string $expected return: void |
user_name_provider() X-Ref |
Provider of user configuration for testing initials rendering return: array[] |