mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 16:32:18 +02:00
MDL-43839 fixed clean as default phpunit bugs
This commit is contained in:
parent
e911dc86f4
commit
7911effdcb
@ -55,7 +55,7 @@ class filter_emoticon_testcase extends advanced_testcase {
|
||||
|
||||
// And texts matching target formats are filtered.
|
||||
$expected = '<img class="emoticon" alt="angry" title="angry"'.
|
||||
' src="http://www.example.com/moodle/theme/image.php/_s/standard/core/1/s/angry" />';
|
||||
' src="http://www.example.com/moodle/theme/image.php/_s/clean/core/1/s/angry" />';
|
||||
$options = array('originalformat' => FORMAT_HTML); // Only FORMAT_HTML is filtered, see {@link testable_filter_emoticon}.
|
||||
$this->assertEquals($expected, $filter->filter('(grr)', $options));
|
||||
}
|
||||
|
@ -121,7 +121,7 @@ class core_outputcomponents_testcase extends advanced_testcase {
|
||||
$CFG->svgicons = true;
|
||||
|
||||
// Verify new install contains expected defaults.
|
||||
$this->assertSame('standard', $CFG->theme);
|
||||
$this->assertSame('clean', $CFG->theme);
|
||||
$this->assertEquals(1, $CFG->slasharguments);
|
||||
$this->assertEquals(1, $CFG->themerev);
|
||||
$this->assertEquals(0, $CFG->themedesignermode);
|
||||
|
Loading…
x
Reference in New Issue
Block a user