diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2015-03-11 18:18:33 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2015-03-11 18:18:33 +0100 |
commit | 3560b32dfc21184313b4a44420297c3f3a37ab25 (patch) | |
tree | dc4149ae8d51d80faa661e3c65d2b597ad3c5fc0 /tests/core | |
parent | f9fd1629da293cf759ba72554da26548d2d25a0f (diff) | |
download | nextcloud-server-3560b32dfc21184313b4a44420297c3f3a37ab25.tar.gz nextcloud-server-3560b32dfc21184313b4a44420297c3f3a37ab25.zip |
Fix the avatarcontroller cache needing the cache dir
This was removed in 82254ad5efb65e8650567f49343ec37eb55e2f3e and
unfortunatly missed by jenkins before mering into master.
Diffstat (limited to 'tests/core')
-rw-r--r-- | tests/core/avatar/avatarcontrollertest.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/core/avatar/avatarcontrollertest.php b/tests/core/avatar/avatarcontrollertest.php index 1cd621b070c..f43cd7fedd1 100644 --- a/tests/core/avatar/avatarcontrollertest.php +++ b/tests/core/avatar/avatarcontrollertest.php @@ -95,6 +95,10 @@ class AvatarControllerTest extends \Test\TestCase { \OC_User::setUserId($this->user); \OC_Util::setupFS($this->user); + // Create Cache dir + $view = new \OC\Files\View('/'.$this->user); + $view->mkdir('cache'); + // Configure userMock $this->userMock->method('getDisplayName')->willReturn($this->user); $this->userMock->method('getUID')->willReturn($this->user); @@ -275,7 +279,6 @@ class AvatarControllerTest extends \Test\TestCase { /** * Check what happens when we upload a GIF - * TODO: Finish */ public function testPostAvatarFileGif() { //Create temp file |