(no description)
File Size: | 119 lines (5 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 1 file lib/tests/task/show_started_courses_task_test.php |
hide_ended_courses_task_test:: (1 method):
test_hide_ended_courses()
Class: hide_ended_courses_task_test - X-Ref
Class containing unit tests for the hide ended courses task.test_hide_ended_courses(int $nextweekvisible,int $yesterdayvisible,int $tomorrowvisible,bool $createhidden = true) X-Ref |
Test hide_ended_courses cron task. param: int $nextweekvisible Number of courses with the end date set to next week to be created. param: int $yesterdayvisible Number of courses with the end date set to yesterday to be created. param: int $tomorrowvisible Number of courses with the end date set to tomorrow to be created. param: bool $createhidden Whether hidden courses should be created or not. |