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->get_bigbluebuttons_by_courses([1234, 5678]);
67
        $bbbactivities = $this->get_bigbluebuttons_by_courses([1234, 5678]);
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 87... Línea 87...
87
    }
87
    }
Línea 88... Línea 88...
88
 
88
 
89
    /**
89
    /**
90
     * Test execute API CALL with invalid login
90
     * Test execute API CALL with invalid login
91
     */
91
     */
92
    public function test_execute_with_invalid_login() {
92
    public function test_execute_with_invalid_login(): void {
Línea 93... Línea 93...
93
        $this->resetAfterTest();
93
        $this->resetAfterTest();
94
 
94
 
95
        $generator = $this->getDataGenerator();
95
        $generator = $this->getDataGenerator();
Línea 105... Línea 105...
105
    }
105
    }
Línea 106... Línea 106...
106
 
106
 
107
    /**
107
    /**
108
     * Test get bbbactivities
108
     * Test get bbbactivities
109
     */
109
     */
110
    public function test_execute_with_valid_login() {
110
    public function test_execute_with_valid_login(): void {
111
        $this->resetAfterTest(true);
111
        $this->resetAfterTest(true);
Línea 112... Línea 112...
112
        $generator = $this->getDataGenerator();
112
        $generator = $this->getDataGenerator();
113
 
113