diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2016-03-24 22:43:17 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2016-03-24 22:43:17 +0100 |
commit | b8812c8cba81d6ee07f510428e8c25ee3d7391eb (patch) | |
tree | f6eea8df1f6348fec2307d10ef2278524eb485c9 /tests | |
parent | a7e7f5e18098ff0f536e58a7e1e5dfdc825e9086 (diff) | |
parent | 54e750ba7845d0333cdb0fdccdb54f1432b2c161 (diff) | |
download | nextcloud-server-b8812c8cba81d6ee07f510428e8c25ee3d7391eb.tar.gz nextcloud-server-b8812c8cba81d6ee07f510428e8c25ee3d7391eb.zip |
Merge pull request #23154 from owncloud/avatar-save-failure
dont die when we cant save the resized avatar, log instead
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/avatartest.php | 2 |
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() { |