diff options
author | kondou <kondou@ts.unde.re> | 2013-08-18 22:58:33 +0200 |
---|---|---|
committer | kondou <kondou@ts.unde.re> | 2013-08-25 21:06:01 +0200 |
commit | 960262bbb469f8418ac590c5e4d789568d7c9a7e (patch) | |
tree | 6901b84b53a52635453f0fe988f5431a7341edce /tests/lib/avatar.php | |
parent | 0a4febf1eba98366d70331512b02aa9e515a782d (diff) | |
download | nextcloud-server-960262bbb469f8418ac590c5e4d789568d7c9a7e.tar.gz nextcloud-server-960262bbb469f8418ac590c5e4d789568d7c9a7e.zip |
Fix testDefaultAvatar
Diffstat (limited to 'tests/lib/avatar.php')
-rw-r--r-- | tests/lib/avatar.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/avatar.php b/tests/lib/avatar.php index 3320ec07e0c..0e1aa3d9f62 100644 --- a/tests/lib/avatar.php +++ b/tests/lib/avatar.php @@ -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()); } } |