Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 11
Línea 43... Línea 43...
43
    }
43
    }
Línea 44... Línea 44...
44
 
44
 
45
    /**
45
    /**
46
     * Test for function data_controller::create()
46
     * Test for function data_controller::create()
47
     */
47
     */
48
    public function test_constructor() {
48
    public function test_constructor(): void {
49
        global $DB;
49
        global $DB;
Línea 50... Línea 50...
50
        $this->resetAfterTest();
50
        $this->resetAfterTest();
51
 
51
 
Línea 113... Línea 113...
113
    }
113
    }
Línea 114... Línea 114...
114
 
114
 
115
    /**
115
    /**
116
     * Test for function \core_customfield\field_controller::create() in case of wrong parameters
116
     * Test for function \core_customfield\field_controller::create() in case of wrong parameters
117
     */
117
     */
118
    public function test_constructor_errors() {
118
    public function test_constructor_errors(): void {
119
        global $DB;
119
        global $DB;
Línea 120... Línea 120...
120
        $this->resetAfterTest();
120
        $this->resetAfterTest();
121
 
121