Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 11
Línea 74... Línea 74...
74
    }
74
    }
Línea 75... Línea 75...
75
 
75
 
76
    /**
76
    /**
77
     * Test that existing content is properly set.
77
     * Test that existing content is properly set.
78
     */
78
     */
79
    public function test_set_content() {
79
    public function test_set_content(): void {
Línea 80... Línea 80...
80
        $this->resetAfterTest();
80
        $this->resetAfterTest();
Línea 81... Línea 81...
81
 
81
 
Línea 134... Línea 134...
134
    }
134
    }
Línea 135... Línea 135...
135
 
135
 
136
    /**
136
    /**
137
     * Tests that library and file area are properly set.
137
     * Tests that library and file area are properly set.
138
     */
138
     */
139
    public function test_set_library() {
139
    public function test_set_library(): void {
Línea 140... Línea 140...
140
        global $USER;
140
        global $USER;
141
 
141
 
142
        $library = 'H5P.Accordion 1.5';
142
        $library = 'H5P.Accordion 1.5';
Línea 173... Línea 173...
173
    }
173
    }
Línea 174... Línea 174...
174
 
174
 
175
    /**
175
    /**
176
     * Test that required assets (js and css) and form will be loaded in page.
176
     * Test that required assets (js and css) and form will be loaded in page.
177
     */
177
     */
178
    public function test_add_editor_to_form() {
178
    public function test_add_editor_to_form(): void {
Línea 179... Línea 179...
179
        global $PAGE, $CFG;
179
        global $PAGE, $CFG;
180
 
180
 
Línea 231... Línea 231...
231
    }
231
    }
Línea 232... Línea 232...
232
 
232
 
233
    /**
233
    /**
234
     * Test new content creation.
234
     * Test new content creation.
235
     */
235
     */
236
    public function test_save_content() {
236
    public function test_save_content(): void {
Línea 237... Línea 237...
237
        global $DB;
237
        global $DB;
Línea 238... Línea 238...
238
 
238