Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 4.1.x will end 13 November 2023 (12 months).
  • Bug fixes for security issues in 4.1.x will end 10 November 2025 (36 months).
  • PHP version: minimum PHP 7.4.0 Note: minimum PHP version has increased since Moodle 4.0. PHP 8.0.x is supported too.

(no description)

File Size: 182 lines (7 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 1 file
 enrol/lti/tests/local/ltiadvantage/lti_advantage_testcase.php

Defines 1 class


Class: tool_deployment_service_test  - X-Ref

Tests for the tool_deployment_service.

generate_application_registration()   X-Ref
Return a pre-existing application_registration object for testing.

return: application_registration

get_tool_deployment_service()   X-Ref
Helper to get a tool_deployment_service instance.

return: tool_deployment_service the instance.

test_add_tool_deployment()   X-Ref
Test the use case "As an admin, I can register an application as an LTI consumer (platform)".


test_add_tool_deployment_registration_missing()   X-Ref
Test trying to add a tool deployment when a registration identified by the specified id cannot be found.


test_delete_deployment()   X-Ref
Test that removal of a deployment removes all associated data.