Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.11.x will end 14 Nov 2022 (12 months plus 6 months extension).
  • Bug fixes for security issues in 3.11.x will end 13 Nov 2023 (18 months plus 12 months extension).
  • PHP version: minimum PHP 7.3.0 Note: minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is supported too.

Differences Between: [Versions 310 and 311] [Versions 311 and 402] [Versions 311 and 403] [Versions 39 and 311]

(no description)

File Size: 146 lines (7 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 1 file
 lib/tests/fixtures/testable_update_api.php

Defines 1 class


Class: update_api_test  - X-Ref

Tests for \core\update\api client.

Please note many of these tests heavily depend on the behaviour of the
testable_api client. It is important to make sure that the behaviour of the
testable_api client perfectly matches the actual behaviour of the live
services on the given API version.

test_convert_branch_numbering_format()   X-Ref
Make sure the $CFG->branch is mapped correctly to the format used by the API.


test_get_plugin_info()   X-Ref
Getting info about particular plugin version.


test_find_plugin()   X-Ref
Getting info about the most suitable plugin version for us.


test_validate_pluginfo_format()   X-Ref
Validating the pluginfo.php response data.