Permalink
Browse files

Revert "MDL-46226 fix unit tests"

This reverts commit d927f22.
  • Loading branch information...
danpoltawski committed Jul 16, 2014
1 parent 26f004f commit d613a0db571b2190beb9a02f00cdc3cf71ec51d1
Showing with 1 addition and 1 deletion.
  1. +1 −1 filter/emoticon/tests/filter_test.php
@@ -54,7 +54,7 @@ public function test_filter_emoticon_formats() {
$this->assertEquals($expected, $filter->filter('(grr)', $options));
// And texts matching target formats are filtered.
$expected = '<img class="emoticon" alt="angry"'.
$expected = '<img class="emoticon" alt="angry" title="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));

0 comments on commit d613a0d

Please sign in to comment.