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
        // Chat module is disabled by default, enable it for testing.
32
        // Chat module is disabled by default, enable it for testing.
33
        $manager = \core_plugin_manager::resolve_plugininfo_class('mod');
33
        $manager = \core_plugin_manager::resolve_plugininfo_class('mod');
34
        $manager::enable_plugin('chat', 1);
34
        $manager::enable_plugin('chat', 1);
35
    }
35
    }
Línea 36... Línea 36...
36
 
36
 
37
    public function test_create_instance() {
37
    public function test_create_instance(): void {
38
        global $DB;
38
        global $DB;
39
        $this->resetAfterTest();
39
        $this->resetAfterTest();
Línea 40... Línea 40...
40
        $this->setAdminUser();
40
        $this->setAdminUser();