Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 11
Línea 51... Línea 51...
51
    }
51
    }
Línea 52... Línea 52...
52
 
52
 
53
    /**
53
    /**
54
     * Test creating course with customfields and retrieving them
54
     * Test creating course with customfields and retrieving them
55
     */
55
     */
56
    public function test_create_course() {
56
    public function test_create_course(): void {
57
        global $DB;
57
        global $DB;
Línea 58... Línea 58...
58
        $dg = $this->getDataGenerator();
58
        $dg = $this->getDataGenerator();
59
 
59
 
Línea 133... Línea 133...
133
    }
133
    }
Línea 134... Línea 134...
134
 
134
 
135
    /**
135
    /**
136
     * Test backup and restore of custom fields
136
     * Test backup and restore of custom fields
137
     */
137
     */
138
    public function test_restore_customfields() {
138
    public function test_restore_customfields(): void {
139
        global $USER;
139
        global $USER;
Línea 140... Línea 140...
140
        $dg = $this->getDataGenerator();
140
        $dg = $this->getDataGenerator();
141
 
141
 
Línea 153... Línea 153...
153
    }
153
    }
Línea 154... Línea 154...
154
 
154
 
155
    /**
155
    /**
156
     * Delete a category that has fields and the fields have data.
156
     * Delete a category that has fields and the fields have data.
157
     */
157
     */
158
    public function test_delete_category() {
158
    public function test_delete_category(): void {
159
        global $DB;
159
        global $DB;
Línea 160... Línea 160...
160
        $dg = $this->getDataGenerator();
160
        $dg = $this->getDataGenerator();
161
 
161