Proyectos de Subversion Moodle

Rev

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

Rev 11 Rev 1441
Línea 27... Línea 27...
27
 * @package   core
27
 * @package   core
28
 * @category  test
28
 * @category  test
29
 * @copyright 2012 Andrew Davis
29
 * @copyright 2012 Andrew Davis
30
 * @license   http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
30
 * @license   http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
31
 */
31
 */
32
class gradelib_test extends \advanced_testcase {
32
final class gradelib_test extends \advanced_testcase {
Línea 33... Línea 33...
33
 
33
 
Línea 34... Línea 34...
34
    public function test_grade_update_mod_grades(): void {
34
    public function test_grade_update_mod_grades(): void {
Línea 186... Línea 186...
186
    /**
186
    /**
187
     * Data provider for tests of the grade_get_date_for_user_grade function.
187
     * Data provider for tests of the grade_get_date_for_user_grade function.
188
     *
188
     *
189
     * @return array
189
     * @return array
190
     */
190
     */
191
    public function grade_get_date_for_user_grade_provider(): array {
191
    public static function grade_get_date_for_user_grade_provider(): array {
192
        $u1 = (object) [
192
        $u1 = (object) [
193
            'id' => 42,
193
            'id' => 42,
194
        ];
194
        ];
195
        $u2 = (object) [
195
        $u2 = (object) [
196
            'id' => 930,
196
            'id' => 930,