Línea 91... |
Línea 91... |
91 |
* @dataProvider get_dates_for_module_provider
|
91 |
* @dataProvider get_dates_for_module_provider
|
92 |
* @param int|null $timeopen The 'available from' value of the scorm.
|
92 |
* @param int|null $timeopen The 'available from' value of the scorm.
|
93 |
* @param int|null $timeclose The 'available to' value of the scorm.
|
93 |
* @param int|null $timeclose The 'available to' value of the scorm.
|
94 |
* @param array $expected The expected value of calling get_dates_for_module()
|
94 |
* @param array $expected The expected value of calling get_dates_for_module()
|
95 |
*/
|
95 |
*/
|
96 |
public function test_get_dates_for_module(?int $timeopen, ?int $timeclose, array $expected) {
|
96 |
public function test_get_dates_for_module(?int $timeopen, ?int $timeclose, array $expected): void {
|
97 |
$this->resetAfterTest();
|
97 |
$this->resetAfterTest();
|
Línea 98... |
Línea 98... |
98 |
|
98 |
|
99 |
$course = $this->getDataGenerator()->create_course();
|
99 |
$course = $this->getDataGenerator()->create_course();
|
100 |
$user = $this->getDataGenerator()->create_user();
|
100 |
$user = $this->getDataGenerator()->create_user();
|