Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 11
Línea 39... Línea 39...
39
class provider_test extends provider_testcase {
39
class provider_test extends provider_testcase {
Línea 40... Línea 40...
40
 
40
 
41
    /**
41
    /**
42
     * Test the export of rubric data.
42
     * Test the export of rubric data.
43
     */
43
     */
44
    public function test_get_gradingform_export_data() {
44
    public function test_get_gradingform_export_data(): void {
45
        global $DB;
45
        global $DB;
46
        $this->resetAfterTest();
46
        $this->resetAfterTest();
47
        $course = $this->getDataGenerator()->create_course();
47
        $course = $this->getDataGenerator()->create_course();
48
        $module = $this->getDataGenerator()->create_module('assign', ['course' => $course]);
48
        $module = $this->getDataGenerator()->create_module('assign', ['course' => $course]);
Línea 79... Línea 79...
79
    }
79
    }
Línea 80... Línea 80...
80
 
80
 
81
    /**
81
    /**
82
     * Test the deletion of rubric user information via the instance ID.
82
     * Test the deletion of rubric user information via the instance ID.
83
     */
83
     */
84
    public function test_delete_gradingform_for_instances() {
84
    public function test_delete_gradingform_for_instances(): void {
85
        global $DB;
85
        global $DB;
86
        $this->resetAfterTest();
86
        $this->resetAfterTest();
87
        $course = $this->getDataGenerator()->create_course();
87
        $course = $this->getDataGenerator()->create_course();
88
        $module = $this->getDataGenerator()->create_module('assign', ['course' => $course]);
88
        $module = $this->getDataGenerator()->create_module('assign', ['course' => $course]);