Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 11
Línea 41... Línea 41...
41
    /**
41
    /**
42
     * Test the behaviour of moodlenet_get_shared_course_info().
42
     * Test the behaviour of moodlenet_get_shared_course_info().
43
     *
43
     *
44
     * @covers ::execute
44
     * @covers ::execute
45
     */
45
     */
46
    public function test_moodlenet_get_shared_course_info() {
46
    public function test_moodlenet_get_shared_course_info(): void {
47
        global $CFG;
47
        global $CFG;
48
        $this->resetAfterTest();
48
        $this->resetAfterTest();
49
        $this->setAdminUser();
49
        $this->setAdminUser();
50
        $CFG->enablesharingtomoodlenet = true;
50
        $CFG->enablesharingtomoodlenet = true;