Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 11
Línea 33... Línea 33...
33
    /**
33
    /**
34
     * @covers ::execute
34
     * @covers ::execute
35
     *
35
     *
36
     * Test updating the line item with submission review.
36
     * Test updating the line item with submission review.
37
     */
37
     */
38
    public function test_execute_put_nosubreview() {
38
    public function test_execute_put_nosubreview(): void {
39
        global $CFG;
39
        global $CFG;
40
        require_once($CFG->dirroot . '/mod/lti/locallib.php');
40
        require_once($CFG->dirroot . '/mod/lti/locallib.php');
41
        $this->resetAfterTest();
41
        $this->resetAfterTest();
42
        $this->setAdminUser();
42
        $this->setAdminUser();
43
        $resourceid = 'test-resource-id';
43
        $resourceid = 'test-resource-id';
Línea 77... Línea 77...
77
    /**
77
    /**
78
     * @covers ::execute
78
     * @covers ::execute
79
     *
79
     *
80
     * Test updating the line item with submission review.
80
     * Test updating the line item with submission review.
81
     */
81
     */
82
    public function test_execute_put_withsubreview() {
82
    public function test_execute_put_withsubreview(): void {
83
        global $CFG;
83
        global $CFG;
84
        require_once($CFG->dirroot . '/mod/lti/locallib.php');
84
        require_once($CFG->dirroot . '/mod/lti/locallib.php');
85
        $this->resetAfterTest();
85
        $this->resetAfterTest();
86
        $this->setAdminUser();
86
        $this->setAdminUser();
87
        $resourceid = 'test-resource-id';
87
        $resourceid = 'test-resource-id';
Línea 128... Línea 128...
128
    /**
128
    /**
129
     * @covers ::execute
129
     * @covers ::execute
130
     *
130
     *
131
     * Test updating the line item with submission review.
131
     * Test updating the line item with submission review.
132
     */
132
     */
133
    public function test_execute_put_addsubreview() {
133
    public function test_execute_put_addsubreview(): void {
134
        global $CFG;
134
        global $CFG;
135
        require_once($CFG->dirroot . '/mod/lti/locallib.php');
135
        require_once($CFG->dirroot . '/mod/lti/locallib.php');
136
        $this->resetAfterTest();
136
        $this->resetAfterTest();
137
        $this->setAdminUser();
137
        $this->setAdminUser();
138
        $resourceid = 'test-resource-id';
138
        $resourceid = 'test-resource-id';