mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 12:32:08 +02:00
MDL-46226 fix unit tests
This commit is contained in:
parent
2df87a9d2a
commit
ffd17daf0a
@ -54,7 +54,7 @@ class filter_emoticon_testcase extends advanced_testcase {
|
||||
$this->assertEquals($expected, $filter->filter('(grr)', $options));
|
||||
|
||||
// And texts matching target formats are filtered.
|
||||
$expected = '<img class="emoticon" alt="angry" title="angry"'.
|
||||
$expected = '<img class="emoticon" alt="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));
|
||||
|
Loading…
x
Reference in New Issue
Block a user