Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 11
Línea 42... Línea 42...
42
    }
42
    }
Línea 43... Línea 43...
43
 
43
 
44
    /**
44
    /**
45
     * Test getting the context for the user ID related to this plugin.
45
     * Test getting the context for the user ID related to this plugin.
46
     */
46
     */
47
    public function test_get_contexts_for_userid() {
47
    public function test_get_contexts_for_userid(): void {
48
        $user = $this->getDataGenerator()->create_user();
48
        $user = $this->getDataGenerator()->create_user();
49
        $contextlist = \ltiservice_gradebookservices\privacy\provider::get_contexts_for_userid($user->id);
49
        $contextlist = \ltiservice_gradebookservices\privacy\provider::get_contexts_for_userid($user->id);
50
        $this->assertEmpty($contextlist);
50
        $this->assertEmpty($contextlist);
51
    }
51
    }