Moodle APIs 4.1
Moodle 4.1.9+ (Build: 20240402)
|
This file contains helper classes and functions for testing. More...
Classes | |
class | action_event_test_factory |
A test factory that will create action events. More... | |
Functions | |
create_action_event (array $data) | |
Helper function to create an action event. | |
create_event ($properties) | |
Create a calendar event with the given properties. | |
create_group_override_event (string $modulename, int $instanceid, int $courseid, int $groupid) | |
Helper function to create an group override calendar event. | |
create_standard_events (int $quantity) | |
Helper function to create a x number of events for each event type. | |
create_user_override_event (string $modulename, int $instanceid, int $userid) | |
Helper function to create an user override calendar event. | |
Variables | |
global | $CFG |
This file contains helper classes and functions for testing.