summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2016-07-01 16:04:25 +0200
committerJoas Schilling <coding@schilljs.com>2016-07-01 16:04:25 +0200
commit197e94457ffb43b8307f5d0009313b7a7a4208fd (patch)
tree56907034143e9ccab4a6cb525c9cdb3753fa0c61 /tests
parent23cc465b0d610aada816963fbfa66b10443f3567 (diff)
downloadnextcloud-server-197e94457ffb43b8307f5d0009313b7a7a4208fd.tar.gz
nextcloud-server-197e94457ffb43b8307f5d0009313b7a7a4208fd.zip
Fix AvatarControllerTest with phpunit 5.2+
Diffstat (limited to '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');
}