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: 369 lines (16 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class


Class: upgrade_recordings_task_test  - X-Ref

Class containing the scheduled task for lti module.

setUp()   X-Ref
Setup for test


test_upgrade_recordings_basic()   X-Ref
Upgrade task test


test_upgrade_recordings_imported_basic()   X-Ref
Upgrade task test


test_upgrade_recordings_with_missing_recording_on_bbb_server()   X-Ref
Upgrade recordings when we have missing recordings on the server
Basically, the recordings are imported and then we cannot the other because logs have been marked as migrated.


test_upgrade_recordings_with_more_recordings_on_bbb_server()   X-Ref
Upgrade task test with more recordings on the server than in the log : we add all recording and should have
no more logs.


setup_basic_data($importedrecording = false)   X-Ref
Setup basic data for tests

param: bool $importedrecording
return: void

setup_basic_course_and_meeting()   X-Ref
Setup basic data for tests

return: array

create_meeting_for_logs(?array $groups = null)   X-Ref
Create a meeting and return its instance

param: array|null $groups
return: instance