(no description)
File Size: | 234 lines (8 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
matrix_user_manager_test:: (10 methods):
test_get_matrixid_from_moodle_without_field()
test_get_matrixid_from_moodle()
test_get_formatted_matrix_userid_unset()
test_get_formatted_matrix_userid()
get_formatted_matrix_userid_provider()
set_matrix_userid_in_moodle_provider()
test_set_matrix_userid_in_moodle()
test_get_formatted_matrix_home_server()
get_formatted_matrix_home_server_provider()
test_create_matrix_user_profile_fields()
Class: matrix_user_manager_test - X-Ref
Class matrix_user_manager_test to test the matrix user manager.test_get_matrixid_from_moodle_without_field() X-Ref |
Test fetcihing a users matrix userid from Moodle. |
test_get_matrixid_from_moodle() X-Ref |
Test fetching a user's matrix userid from Moodle. |
test_get_formatted_matrix_userid_unset() X-Ref |
Test fetching a formatted matrix userid from Moodle when no server is set. |
test_get_formatted_matrix_userid(string $server,string $username,string $expecteduserid,) X-Ref |
Test fetch of a formatted matrix userid. param: string $server param: string $username The moodle username to turn into a Matrix username param: string $expecteduserid The expected matrix user id |
get_formatted_matrix_userid_provider() X-Ref |
Data provider for get_formatted_matrix_userid. return: array |
set_matrix_userid_in_moodle_provider() X-Ref |
Data provider for set_matrix_userid_in_moodle. return: array |
test_set_matrix_userid_in_moodle(string $expectedusername,) X-Ref |
Test setting of a user's matrix userid in Moodle. param: string $expectedusername |
test_get_formatted_matrix_home_server(string $input,string $expectedoutput) X-Ref |
Test for getting a formatted matrix home server id. param: string $input param: string $expectedoutput |
get_formatted_matrix_home_server_provider() X-Ref |
Data provider for get_formatted_matrix_home_server. return: array |
test_create_matrix_user_profile_fields() X-Ref |
Test creation of matrix user profile fields. |