diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-03-11 23:27:47 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-03-11 23:27:47 +0100 |
commit | 84a5d43ed60dd588b84071d7eda396cd72f58abf (patch) | |
tree | 700d3e811b933aa10a11a9856ebbfc6a38a9fdca | |
parent | dbd2bb66e970cc3c80c627193f5c0cd671dcc929 (diff) | |
parent | 3560b32dfc21184313b4a44420297c3f3a37ab25 (diff) | |
download | nextcloud-server-84a5d43ed60dd588b84071d7eda396cd72f58abf.tar.gz nextcloud-server-84a5d43ed60dd588b84071d7eda396cd72f58abf.zip |
Merge pull request #14809 from rullzer/avatarcontroller_cache_fix
Fix the avatarcontroller cache needing the cache dir
-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 |