summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2016-03-11 13:44:35 +0100
committerRobin Appelman <icewind@owncloud.com>2016-03-11 13:44:35 +0100
commit54e750ba7845d0333cdb0fdccdb54f1432b2c161 (patch)
tree9b2056424ea8a75e06581e95abdbca90da60829c /tests
parent750ec93394b76a3af4d45b32fd3b4dd788d431cf (diff)
downloadnextcloud-server-54e750ba7845d0333cdb0fdccdb54f1432b2c161.tar.gz
nextcloud-server-54e750ba7845d0333cdb0fdccdb54f1432b2c161.zip
dont die when we cant save the resized avatar, log instead
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/avatartest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/avatartest.php b/tests/lib/avatartest.php
index e7d78311085..b2b69ac1a6c 100644
--- a/tests/lib/avatartest.php
+++ b/tests/lib/avatartest.php
@@ -27,7 +27,7 @@ class AvatarTest extends \Test\TestCase {
$l = $this->getMock('\OCP\IL10N');
$l->method('t')->will($this->returnArgument(0));
$this->user = $this->getMockBuilder('\OC\User\User')->disableOriginalConstructor()->getMock();
- $this->avatar = new \OC\Avatar($this->folder, $l, $this->user);
+ $this->avatar = new \OC\Avatar($this->folder, $l, $this->user, $this->getMock('\OCP\ILogger'));
}
public function testGetNoAvatar() {