MDL-43839 fixed clean as default phpunit bugs
authorSam Hemelryk <sam@moodle.com>
Mon, 24 Mar 2014 04:10:54 +0000 (17:10 +1300)
committerSam Hemelryk <sam@moodle.com>
Mon, 24 Mar 2014 04:10:54 +0000 (17:10 +1300)
filter/emoticon/tests/filter_test.php
lib/tests/outputcomponents_test.php

index ddd73e1..38b69cc 100644 (file)
@@ -55,7 +55,7 @@ class filter_emoticon_testcase extends advanced_testcase {
 
         // And texts matching target formats are filtered.
         $expected = '<img class="emoticon" alt="angry" title="angry"'.
-                    ' src="http://www.example.com/moodle/theme/image.php/_s/standard/core/1/s/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));
     }
index ce254c0..0e77308 100644 (file)
@@ -121,7 +121,7 @@ class core_outputcomponents_testcase extends advanced_testcase {
         $CFG->svgicons = true;
 
         // Verify new install contains expected defaults.
-        $this->assertSame('standard', $CFG->theme);
+        $this->assertSame('clean', $CFG->theme);
         $this->assertEquals(1, $CFG->slasharguments);
         $this->assertEquals(1, $CFG->themerev);
         $this->assertEquals(0, $CFG->themedesignermode);