summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorkondou <kondou@ts.unde.re>2013-10-15 17:23:47 +0200
committerkondou <kondou@ts.unde.re>2013-10-15 17:23:47 +0200
commite2cc7e7bf9a5c9ee44769429347833b7b748708a (patch)
treef7e6a4f8a43950d9cb159c867e8145b9ea54f130 /tests
parent25320f19df017947f31ea156ade061274b5bd691 (diff)
downloadnextcloud-server-e2cc7e7bf9a5c9ee44769429347833b7b748708a.tar.gz
nextcloud-server-e2cc7e7bf9a5c9ee44769429347833b7b748708a.zip
Fix avatar unittest
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/avatar.php2
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();