Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.3.x will end 7 October 2024 (12 months).
  • Bug fixes for security issues in 4.3.x will end 21 April 2025 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.2.x is supported too.

(no description)

File Size: 315 lines (12 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

course_partial_sender_test:: (5 methods):
  setUp()
  test_prepare_share_contents()
  test_get_resource_description()
  test_share_resource()
  share_resource_provider()


Class: course_partial_sender_test  - X-Ref

Unit tests for {@see \core\moodlenet\course_partial_sender}.

setUp()   X-Ref
Set up function for tests.


test_prepare_share_contents()   X-Ref
Test prepare_share_contents method.


test_get_resource_description()   X-Ref
Test get_resource_description method.


test_share_resource(ResponseInterface $httpresponse, array $expected)   X-Ref
Test share_resource() method.

param: ResponseInterface $httpresponse
param: array $expected

share_resource_provider()   X-Ref
Provider for test share_resource().

return: array Test data.