Skip to content

Commit

Permalink
Revert "MDL-46226 fix unit tests"
Browse files Browse the repository at this point in the history
This reverts commit ffd17da.
  • Loading branch information
Sam Hemelryk committed Jul 17, 2014
1 parent 743960d commit 4ae7774
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion filter/emoticon/tests/filter_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit 4ae7774

Please sign in to comment.