(no description)
File Size: | 179 lines (7 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
get_feedback_test:: (4 methods):
test_get_feedback()
get_feedback_provider()
test_get_feedback_invalid_request()
get_feedback_invalid_request_provider()
Class: get_feedback_test - X-Ref
Unit tests for the core_grades\external\get_feedback webservice.test_get_feedback(?string $feedback, array $expected) X-Ref |
Test get_feedback. param: string|null $feedback The feedback text added for the grade item. param: array $expected The expected feedback data. return: void |
get_feedback_provider() X-Ref |
Data provider for test_get_feedback(). return: array |
test_get_feedback_invalid_request(string $loggeduserrole, bool $feedbacknotincourse,array $expectedexception = []) X-Ref |
Test get_feedback with invalid requests. param: string $loggeduserrole The role of the logged user. param: bool $feedbacknotincourse Whether to request a feedback for a grade item which is not a part of the course. param: array $expectedexception The expected exception. return: void |
get_feedback_invalid_request_provider() X-Ref |
Data provider for test_get_feedback_invalid_request(). return: array |