Differences Between: [Versions 39 and 310]
Tests the events related to the user profile fields and categories.
Copyright: | 2017 Mark Nelson <markn@moodle.com> |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 393 lines (15 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
core_event_profile_field_testcase:: (9 methods):
setUp()
test_user_info_category_created_event()
test_user_info_category_updated_event()
test_user_info_category_deleted_event()
test_user_info_field_created_event()
test_user_info_field_updated_event()
test_user_info_field_updated_event_move_field()
test_user_info_field_updated_event_delete_category()
test_user_info_field_deleted_event()
Class: core_event_profile_field_testcase - X-Ref
Tests the events related to the user profile fields and categories.setUp() X-Ref |
Test set up. |
test_user_info_category_created_event() X-Ref |
Test that triggering the user_info_category_created event works as expected. |
test_user_info_category_updated_event() X-Ref |
Test that moving a user info category triggers an updated event. |
test_user_info_category_deleted_event() X-Ref |
Test that deleting a user info category triggers a delete event. |
test_user_info_field_created_event() X-Ref |
Test that creating a user info field triggers a create event. |
test_user_info_field_updated_event() X-Ref |
Test that updating a user info field triggers an update event. |
test_user_info_field_updated_event_move_field() X-Ref |
Test that moving a field triggers update events. |
test_user_info_field_updated_event_delete_category() X-Ref |
Test that when we delete a category that contains a field, that the field being moved to another category triggers an update event. |
test_user_info_field_deleted_event() X-Ref |
Test that deleting a user info field triggers a delete event. |