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.

Differences Between: [Versions 401 and 402] [Versions 401 and 403]

(no description)

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

Defines 1 class


Class: update_question_version_status_test  - X-Ref

Submit status external api test.

setUp()   X-Ref
Called before every test.


test_submit_status_updates_the_question_status()   X-Ref
Test if the submit status webservice changes the status of the question.


test_submit_status_error()   X-Ref
Test submit status webservice only takes an existing parameter status.


test_submit_status_does_not_create_a_new_version()   X-Ref
Test that updating the status does not create a new version.