Fix avatar controller tests

This commit is contained in:
Roeland Jago Douma 2016-04-08 14:32:15 +02:00
parent e65e7a5ad7
commit b9b19cef41
No known key found for this signature in database
GPG Key ID: 1E152838F164D13B
1 changed files with 1 additions and 1 deletions

View File

@ -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');
}