Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 11
Línea 32... Línea 32...
32
class editlib_test extends \advanced_testcase {
32
class editlib_test extends \advanced_testcase {
Línea 33... Línea 33...
33
 
33
 
34
    /**
34
    /**
35
     * Test that the required fields are returned in the correct order.
35
     * Test that the required fields are returned in the correct order.
36
     */
36
     */
37
    function test_useredit_get_required_name_fields() {
37
    function test_useredit_get_required_name_fields(): void {
38
        global $CFG;
38
        global $CFG;
39
        // Back up config settings for restore later.
39
        // Back up config settings for restore later.
40
        $originalcfg = new \stdClass();
40
        $originalcfg = new \stdClass();
Línea 58... Línea 58...
58
    }
58
    }
Línea 59... Línea 59...
59
 
59
 
60
    /**
60
    /**
61
     * Test that the enabled fields are returned in the correct order.
61
     * Test that the enabled fields are returned in the correct order.
62
     */
62
     */
63
    function test_useredit_get_enabled_name_fields() {
63
    function test_useredit_get_enabled_name_fields(): void {
64
        global $CFG;
64
        global $CFG;
65
        // Back up config settings for restore later.
65
        // Back up config settings for restore later.
66
        $originalcfg = new \stdClass();
66
        $originalcfg = new \stdClass();
Línea 84... Línea 84...
84
    }
84
    }
Línea 85... Línea 85...
85
 
85
 
86
    /**
86
    /**
87
     * Test that the disabled fields are returned.
87
     * Test that the disabled fields are returned.
88
     */
88
     */
89
    function test_useredit_get_disabled_name_fields() {
89
    function test_useredit_get_disabled_name_fields(): void {
90
        global $CFG;
90
        global $CFG;
91
        // Back up config settings for restore later.
91
        // Back up config settings for restore later.
92
        $originalcfg = new \stdClass();
92
        $originalcfg = new \stdClass();