MDL-36206 Unit tests - Cleanup whitespace issues from previous patch

This commit is contained in:
Damyon Wiese
2013-02-05 14:13:37 +08:00
parent 27e79a40ce
commit d854035ffe
+2 -4
View File
@@ -28,7 +28,6 @@ defined('MOODLE_INTERNAL') || die();
global $CFG;
require_once($CFG->libdir . '/outputcomponents.php');
/**
* Unit tests for the user_picture class
*/
@@ -197,7 +196,6 @@ class outputcomponents_testcase extends advanced_testcase {
$this->assertEquals($CFG->wwwroot.'/theme/image.php/standard/core/1/u/f2', $up3->get_url($page, $renderer)->out(false));
$this->assertTrue($reads < $DB->perf_get_reads());
// test gravatar
set_config('enablegravatar', 1);
@@ -388,7 +386,7 @@ EOF;
$infomenu = array_pop( $children);
$this->assertFalse($infomenu->has_children());
}
public function test_prepare() {
$expecteda = array('1',
'<a href="index.php?page=1">2</a>',
@@ -417,4 +415,4 @@ EOF;
$this->assertEquals($pbara->pagelinks, $expecteda);
$this->assertEquals($pbarb->pagelinks, $expectedb);
}
}
}