Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 11
Línea 60... Línea 60...
60
    }
60
    }
Línea 61... Línea 61...
61
 
61
 
62
    /**
62
    /**
63
     * Test execute API CALL with no instance
63
     * Test execute API CALL with no instance
64
     */
64
     */
65
    public function test_execute_no_instance() {
65
    public function test_execute_no_instance(): void {
66
        $this->resetAfterTest();
66
        $this->resetAfterTest();
Línea 67... Línea 67...
67
        $bbbactivities = $this->view_bigbluebuttonbn(1234);
67
        $bbbactivities = $this->view_bigbluebuttonbn(1234);
68
 
68
 
Línea 73... Línea 73...
73
    }
73
    }
Línea 74... Línea 74...
74
 
74
 
75
    /**
75
    /**
76
     * Test execute API CALL without login
76
     * Test execute API CALL without login
77
     */
77
     */
78
    public function test_execute_without_login() {
78
    public function test_execute_without_login(): void {
Línea 79... Línea 79...
79
        $this->resetAfterTest();
79
        $this->resetAfterTest();
80
 
80
 
81
        $course = $this->getDataGenerator()->create_course();
81
        $course = $this->getDataGenerator()->create_course();
Línea 86... Línea 86...
86
    }
86
    }
Línea 87... Línea 87...
87
 
87
 
88
    /**
88
    /**
89
     * Test execute API CALL with invalid login
89
     * Test execute API CALL with invalid login
90
     */
90
     */
91
    public function test_execute_with_invalid_login() {
91
    public function test_execute_with_invalid_login(): void {
Línea 92... Línea 92...
92
        $this->resetAfterTest();
92
        $this->resetAfterTest();
93
 
93
 
94
        $generator = $this->getDataGenerator();
94
        $generator = $this->getDataGenerator();
Línea 103... Línea 103...
103
    }
103
    }
Línea 104... Línea 104...
104
 
104
 
105
    /**
105
    /**
106
     * When login as a student
106
     * When login as a student
107
     */
107
     */
108
    public function test_execute_with_valid_login() {
108
    public function test_execute_with_valid_login(): void {
Línea 109... Línea 109...
109
        $this->resetAfterTest();
109
        $this->resetAfterTest();
110
 
110
 
111
        $generator = $this->getDataGenerator();
111
        $generator = $this->getDataGenerator();