Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.2.x will end 22 April 2024 (12 months).
  • Bug fixes for security issues in 4.2.x will end 7 October 2024 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.1.x is supported too.

Class: events_test  - X-Ref

This file contains the class that handles testing of the calendar events.

setUp()   X-Ref
Test set up.


test_calendar_event_created()   X-Ref
Tests for calendar_event_created event.


test_calendar_event_created_validations()   X-Ref
Tests for event validations related to calendar_event_created event.


test_calendar_event_updated()   X-Ref
Tests for calendar_event_updated event.


test_calendar_event_updated_toggle_visibility()   X-Ref
Tests for calendar_event_updated event.


test_calendar_event_updated_validations()   X-Ref
Tests for event validations related to calendar_event_created event.


test_calendar_event_deleted()   X-Ref
Tests for calendar_event_deleted event.


test_calendar_event_deleted_validations()   X-Ref
Tests for event validations related to calendar_event_deleted event.


test_calendar_subscription_created_site()   X-Ref
Tests for calendar_subscription_added event for a site subscription.


test_calendar_subscription_created_category()   X-Ref
Tests for calendar_subscription_added event for a category subscription.


test_calendar_subscription_created_course()   X-Ref
Tests for calendar_subscription_added event for a course subscription.


test_calendar_subscription_created_group()   X-Ref
Tests for calendar_subscription_added event for a group subscription.


test_calendar_subscription_updated_site()   X-Ref
Tests for calendar_subscription_updated event for a site subscription.


test_calendar_subscription_updated_category()   X-Ref
Tests for calendar_subscription_updated event for a category subscription.


test_calendar_subscription_updated_course()   X-Ref
Tests for calendar_subscription_updated event for a group subscription.


test_calendar_subscription_updated_group()   X-Ref
Tests for calendar_subscription_updated event for a course subscription.


test_calendar_subscription_deleted_site()   X-Ref
Tests for calendar_subscription_deleted event for a site subscription.


test_calendar_subscription_deleted_category()   X-Ref
Tests for calendar_subscription_deleted event for a category subscription.


test_calendar_subscription_deleted_course()   X-Ref
Tests for calendar_subscription_deleted event for a course.


test_calendar_subscription_deleted_group()   X-Ref
Tests for calendar_subscription_deleted event for a group.