Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 11
Línea 41... Línea 41...
41
     * @dataProvider get_lang_menu_provider
41
     * @dataProvider get_lang_menu_provider
42
     * @param bool $withadditionallangs
42
     * @param bool $withadditionallangs
43
     * @param string $language
43
     * @param string $language
44
     * @param array $expected
44
     * @param array $expected
45
     */
45
     */
46
    public function test_get_lang_menu(bool $withadditionallangs, string $language, array $expected) {
46
    public function test_get_lang_menu(bool $withadditionallangs, string $language, array $expected): void {
47
        global $CFG, $PAGE;
47
        global $CFG, $PAGE;
Línea 48... Línea 48...
48
 
48
 
49
        // Mimic multiple langs installed. To trigger responses 'get_list_of_translations'.
49
        // Mimic multiple langs installed. To trigger responses 'get_list_of_translations'.
50
        // Note: The text/title of the nodes generated will be 'English(fr), English(de)' but we don't care about this.
50
        // Note: The text/title of the nodes generated will be 'English(fr), English(de)' but we don't care about this.