Data provider tests.
Author: | Frédéric Massart <fred@branchup.tech> |
Copyright: | 2018 Frédéric Massart |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 512 lines (23 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
provider_test:: (10 methods):
setUp()
test_get_contexts_for_userid()
test_delete_data_for_user()
test_delete_data_for_all_users_in_context()
test_export_data_for_user()
test_get_users_in_context()
test_delete_data_for_users()
create_service()
create_service_user()
create_token()
Class: provider_test - X-Ref
External subsytem testcase class.setUp() X-Ref |
No description |
test_get_contexts_for_userid() X-Ref |
Test the external service get_contexts_for_userid function. |
test_delete_data_for_user() X-Ref |
Test delete_data_for_user |
test_delete_data_for_all_users_in_context() X-Ref |
Test delete_data_for_all_users_in_context |
test_export_data_for_user() X-Ref |
Test the export_user_data function. |
test_get_users_in_context() X-Ref |
Test that only users with a user context are fetched. |
test_delete_data_for_users() X-Ref |
Test that data for users in approved userlist is deleted. |
create_service(array $params = []) X-Ref |
Create a service. param: array $params The params. return: \stdClass |
create_service_user(array $params) X-Ref |
Create a service user. param: array $params The params. return: \stdClass |
create_token(array $params) X-Ref |
Create a token. param: array $params The params. return: stdClass |