Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.0.x will end 8 May 2023 (12 months).
  • Bug fixes for security issues in 4.0.x will end 13 November 2023 (18 months).
  • PHP version: minimum PHP 7.3.0 Note: the minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is also supported.

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.