Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 11
Línea 157... Línea 157...
157
 
157
 
158
    /**
158
    /**
159
     * Test get user badges.
159
     * Test get user badges.
160
     * These is a basic test since the badges_get_my_user_badges used by the external function already has unit tests.
160
     * These is a basic test since the badges_get_my_user_badges used by the external function already has unit tests.
161
     */
161
     */
Línea 162... Línea 162...
162
    public function test_get_my_user_badges() {
162
    public function test_get_my_user_badges(): void {
Línea 163... Línea 163...
163
 
163
 
164
        $this->setUser($this->student);
164
        $this->setUser($this->student);
Línea 227... Línea 227...
227
    }
227
    }
Línea 228... Línea 228...
228
 
228
 
229
    /**
229
    /**
230
     * Test get user badges.
230
     * Test get user badges.
231
     */
231
     */
Línea 232... Línea 232...
232
    public function test_get_other_user_badges() {
232
    public function test_get_other_user_badges(): void {
Línea 233... Línea 233...
233
 
233
 
234
        $this->setUser($this->teacher);
234
        $this->setUser($this->teacher);