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.

(no description)

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

Defines 1 class


Class: login_notifications_test  - X-Ref

Contains tests for course related notifications.

setUpBeforeClass()   X-Ref
Load required classes


test_login_notification()   X-Ref
Test new login notification.


test_login_notification_skip_same_ip()   X-Ref
Test new login notification is skipped because of same IP from last login.


test_login_notification_skip_same_browser()   X-Ref
Test new login notification is skipped because of same browser from last login.


test_login_notification_skip_mobileapp()   X-Ref
Test new login notification is skipped because of auto-login from the mobile app (skip duplicated notifications).


test_mobile_app_login_notification()   X-Ref
Test new mobile app login notification.


test_mobile_app_login_notification_skip_same_ip()   X-Ref
Test new mobile app login notification skipped becase of same last ip.


test_mobile_app_login_notification_skip_same_device()   X-Ref
Test new mobile app login notification skipped becase of same device.