Differences Between: [Versions 310 and 402] [Versions 311 and 402] [Versions 400 and 402] [Versions 401 and 402]
(no description)
File Size: | 287 lines (12 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
construct_helper(array $mockargv = []) X-Ref |
Generate cli_helper and mock $_SERVER['argv'] param: array $mockargv return: \tool_uploaduser\cli_helper |
test_upload_with_course_enrolment() X-Ref |
Tests simple upload with course enrolment and group allocation |
test_upload_with_applying_defaults() X-Ref |
Test applying defaults during the user upload |
test_upload_with_profile_fields() X-Ref |
User upload with user profile fields |
test_cli_help() X-Ref |
Testing that help for CLI does not throw errors |
test_create_when_user_exists() X-Ref |
Testing skipped user when one exists |
test_enrolments_when_user_exists() X-Ref |
Testing update mode - do not update user records but allow enrolments |
test_udpate_user() X-Ref |
Testing update mode - update user records and perform enrolments. |