summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@owncloud.com>2016-04-08 14:32:15 +0200
committerRoeland Jago Douma <rullzer@owncloud.com>2016-04-08 15:23:00 +0200
commitb9b19cef41b5125a5b3e303ffef2187903ee5c1a (patch)
treee44029b6c48e8f4050863744aa92b72b95fbdd6d
parente65e7a5ad72c26226dc9023083677631ed6542b5 (diff)
downloadnextcloud-server-b9b19cef41b5125a5b3e303ffef2187903ee5c1a.tar.gz
nextcloud-server-b9b19cef41b5125a5b3e303ffef2187903ee5c1a.zip
Fix avatar controller tests
-rw-r--r--tests/core/controller/avatarcontrollertest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/core/controller/avatarcontrollertest.php b/tests/core/controller/avatarcontrollertest.php
index 8e5e58904a7..c99b69228b1 100644
--- a/tests/core/controller/avatarcontrollertest.php
+++ b/tests/core/controller/avatarcontrollertest.php
@@ -93,7 +93,7 @@ class AvatarControllerTest extends \Test\TestCase {
$this->container['UserSession']->method('getUser')->willReturn($this->userMock);
$this->avatarFile = $this->getMock('OCP\Files\File');
- $this->avatarFile->method('getContnet')->willReturn('image data');
+ $this->avatarFile->method('getContent')->willReturn('image data');
$this->avatarFile->method('getMimeType')->willReturn('image type');
$this->avatarFile->method('getEtag')->willReturn('my etag');
}