diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2019-11-22 09:52:58 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2019-11-27 13:34:42 +0100 |
commit | ef4b59d3417ff9069425d7ae7a8e6e4f8165f7fb (patch) | |
tree | 3bf7113c1730cce86c15155a96adc89e3835d3bf /tests/Core | |
parent | 799f58391ea1dca3a24abe2598e08692af2a2c0b (diff) | |
download | nextcloud-server-ef4b59d3417ff9069425d7ae7a8e6e4f8165f7fb.tar.gz nextcloud-server-ef4b59d3417ff9069425d7ae7a8e6e4f8165f7fb.zip |
More fixes
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'tests/Core')
-rw-r--r-- | tests/Core/Controller/AvatarControllerTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Core/Controller/AvatarControllerTest.php b/tests/Core/Controller/AvatarControllerTest.php index e43196824c1..d7feec28fd2 100644 --- a/tests/Core/Controller/AvatarControllerTest.php +++ b/tests/Core/Controller/AvatarControllerTest.php @@ -332,7 +332,7 @@ class AvatarControllerTest extends \Test\TestCase { $this->cache->method('get')->willReturn(file_get_contents(\OC::$SERVERROOT.'/tests/data/testimage.gif')); //Create request return - $reqRet = ['error' => [0], 'tmp_name' => [$fileName], 'size' => filesize(\OC::$SERVERROOT.'/tests/data/testimage.gif')]; + $reqRet = ['error' => [0], 'tmp_name' => [$fileName], 'size' => [filesize(\OC::$SERVERROOT.'/tests/data/testimage.gif')]]; $this->request->method('getUploadedFile')->willReturn($reqRet); $response = $this->avatarController->postAvatar(null); |