mirror of
https://github.com/moodle/moodle.git
synced 2025-04-28 11:55:58 +02:00
Merge branch 'MDL-78955-patch' of https://github.com/ilyatregubov/moodle
This commit is contained in:
commit
c230741457
@ -118,7 +118,7 @@ class choicelist_test extends advanced_testcase {
|
||||
$this->assertEquals('Choose an option', $export['description']);
|
||||
$this->assertEquals(true, $export['hasoptions']);
|
||||
$this->assertCount(2, $export['options']);
|
||||
$definition1['iconexport'] = $definition1['icon']->export_for_template($renderer);
|
||||
$definition1['iconexport'] = $definition1['icon']->export_for_pix($renderer);
|
||||
$this->validate_option($export['options'][0], 'option1', 'Option 1', $definition1);
|
||||
$this->validate_option($export['options'][1], 'option2', 'Option 2', $definition2);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user