Skip to content

Commit

Permalink
MDL-43839 fixed clean as default phpunit bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Hemelryk committed Mar 24, 2014
1 parent e911dc8 commit 7911eff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion filter/emoticon/tests/filter_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public function test_filter_emoticon_formats() {

// 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));
}
Expand Down
2 changes: 1 addition & 1 deletion lib/tests/outputcomponents_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ public function test_get_url() {
$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);
Expand Down

0 comments on commit 7911eff

Please sign in to comment.