Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 11
Línea 130... Línea 130...
130
    }
130
    }
Línea 131... Línea 131...
131
 
131
 
132
    /**
132
    /**
133
     * Test get_item_ratings
133
     * Test get_item_ratings
134
     */
134
     */
135
    public function test_get_item_ratings() {
135
    public function test_get_item_ratings(): void {
Línea 136... Línea 136...
136
        global $DB;
136
        global $DB;
137
 
137
 
138
        // Rete the discussion as teacher1.
138
        // Rete the discussion as teacher1.
Línea 240... Línea 240...
240
    }
240
    }
Línea 241... Línea 241...
241
 
241
 
242
    /**
242
    /**
243
     * Test add_rating
243
     * Test add_rating
244
     */
244
     */
245
    public function test_add_rating() {
245
    public function test_add_rating(): void {
Línea 246... Línea 246...
246
        $this->setUser($this->teacher1);
246
        $this->setUser($this->teacher1);
247
 
247
 
248
        // First rating of 50.
248
        // First rating of 50.