summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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();