Permalink
Browse files

Revert "MDL-46226 fix unit tests"

This reverts commit 42f05b9.
  • Loading branch information...
danpoltawski committed Jul 16, 2014
1 parent bab46e7 commit c82fa0c8ad32c73fabc5f6105ea7c3c8e851b3f9
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/standard/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 c82fa0c

Please sign in to comment.