Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 11
Línea 333... Línea 333...
333
    /**
333
    /**
334
     * Test enabled columns are removed from disabledcol setting and added to enabledcol setting.
334
     * Test enabled columns are removed from disabledcol setting and added to enabledcol setting.
335
     *
335
     *
336
     * @return void
336
     * @return void
337
     */
337
     */
338
    public function test_enable_columns() {
338
    public function test_enable_columns(): void {
339
        $this->resetAfterTest(true);
339
        $this->resetAfterTest(true);
340
        $this->setAdminUser();
340
        $this->setAdminUser();
341
        $questionbank = $this->get_question_bank();
341
        $questionbank = $this->get_question_bank();
342
        $columns = $this->get_columns($questionbank);
342
        $columns = $this->get_columns($questionbank);
343
        // Set up disablecol with columns from 2 random plugins, and enabledcol with all other columns.
343
        // Set up disablecol with columns from 2 random plugins, and enabledcol with all other columns.