Fix testDefaultAvatar

This commit is contained in:
kondou 2013-08-18 22:58:33 +02:00
parent 0a4febf1eb
commit 960262bbb4
1 changed files with 1 additions and 1 deletions

View File

@ -53,6 +53,6 @@ class Test_Avatar extends PHPUnit_Framework_TestCase {
public function testDefaultAvatar() {
$img = new \OC_Image(OC::$SERVERROOT.'/core/img/defaultavatar.png');
$img->resize(128);
$this->assertEquals($img->data(), \OC_Avatar::getDefaultAvatar(128)->data());
$this->assertEquals($img->data(), \OC_Avatar::getDefaultAvatar(\OC_User::getUser(), 128)->data());
}
}