Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 11
Línea 38... Línea 38...
38
class exporters_content_item_test extends \advanced_testcase {
38
class exporters_content_item_test extends \advanced_testcase {
Línea 39... Línea 39...
39
 
39
 
40
    /**
40
    /**
41
     * Test confirming a content_item can be exported for a course.
41
     * Test confirming a content_item can be exported for a course.
42
     */
42
     */
43
    public function test_export_course_content_item() {
43
    public function test_export_course_content_item(): void {
44
        $this->resetAfterTest();
44
        $this->resetAfterTest();
Línea 45... Línea 45...
45
        global $PAGE;
45
        global $PAGE;
46
 
46
 
Línea 77... Línea 77...
77
    }
77
    }
Línea 78... Línea 78...
78
 
78
 
79
    /**
79
    /**
80
     * Test that legacy items (with id of -1) are exported correctly.
80
     * Test that legacy items (with id of -1) are exported correctly.
81
     */
81
     */
82
    public function test_export_course_content_item_legacy() {
82
    public function test_export_course_content_item_legacy(): void {
83
        $this->resetAfterTest();
83
        $this->resetAfterTest();
Línea 84... Línea 84...
84
        global $PAGE;
84
        global $PAGE;