Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 11
Línea 93... Línea 93...
93
     * @param object|null $globalsettings
93
     * @param object|null $globalsettings
94
     * @return void
94
     * @return void
95
     * @covers       \recording_row_playback::should_be_included
95
     * @covers       \recording_row_playback::should_be_included
96
     * @dataProvider should_be_included_data_provider
96
     * @dataProvider should_be_included_data_provider
97
     */
97
     */
98
    public function test_should_be_included(string $role, array $canview, object $globalsettings = null) {
98
    public function test_should_be_included(string $role, array $canview, object $globalsettings = null): void {
99
        global $PAGE;
99
        global $PAGE;
100
        $this->resetAfterTest();
100
        $this->resetAfterTest();
101
        ['recordings' => $recordingsdata, 'activity' => $activity] = $this->create_activity_with_recordings(
101
        ['recordings' => $recordingsdata, 'activity' => $activity] = $this->create_activity_with_recordings(
102
            $this->get_course(),
102
            $this->get_course(),
103
            instance::TYPE_ALL,
103
            instance::TYPE_ALL,