Proyectos de Subversion Moodle

Rev

Rev 1 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 11
Línea 91... Línea 91...
91
     * @dataProvider get_dates_for_module_provider
91
     * @dataProvider get_dates_for_module_provider
92
     * @param int|null $availablefrom The "available from" time in the database activity.
92
     * @param int|null $availablefrom The "available from" time in the database activity.
93
     * @param int|null $availableto The "available to" time in the database activity.
93
     * @param int|null $availableto The "available to" time in the database activity.
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 $availablefrom, ?int $availableto, array $expected) {
96
    public function test_get_dates_for_module(?int $availablefrom, ?int $availableto, 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();