MDL-46226 fix unit tests
authorDan Poltawski <dan@moodle.com>
Mon, 14 Jul 2014 14:49:20 +0000 (15:49 +0100)
committerDan Poltawski <dan@moodle.com>
Mon, 14 Jul 2014 14:50:50 +0000 (15:50 +0100)
filter/emoticon/tests/filter_test.php

index 38b69cc..9d96072 100644 (file)
@@ -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));