diff options
author | kondou <kondou@ts.unde.re> | 2013-10-15 17:23:47 +0200 |
---|---|---|
committer | kondou <kondou@ts.unde.re> | 2013-10-15 17:23:47 +0200 |
commit | e2cc7e7bf9a5c9ee44769429347833b7b748708a (patch) | |
tree | f7e6a4f8a43950d9cb159c867e8145b9ea54f130 /tests | |
parent | 25320f19df017947f31ea156ade061274b5bd691 (diff) | |
download | nextcloud-server-e2cc7e7bf9a5c9ee44769429347833b7b748708a.tar.gz nextcloud-server-e2cc7e7bf9a5c9ee44769429347833b7b748708a.zip |
Fix avatar unittest
Diffstat (limited to 'tests')
-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 b458e40bc11..6e6faed2d2c 100644 --- a/tests/lib/avatar.php +++ b/tests/lib/avatar.php @@ -15,8 +15,8 @@ class Test_Avatar extends PHPUnit_Framework_TestCase { $this->assertEquals(false, $avatar->get()); $expected = new OC_Image(\OC::$SERVERROOT.'/tests/data/testavatar.png'); - $avatar->set($expected->data()); $expected->resize(64); + $avatar->set($expected->data()); $this->assertEquals($expected->data(), $avatar->get()->data()); $avatar->remove(); |