Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
die_coolen_jungs
our_own_cloud_project
Commits
84a5d43e
Commit
84a5d43e
authored
Mar 11, 2015
by
Thomas Müller
Browse files
Merge pull request #14809 from rullzer/avatarcontroller_cache_fix
Fix the avatarcontroller cache needing the cache dir
parents
dbd2bb66
3560b32d
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/core/avatar/avatarcontrollertest.php
View file @
84a5d43e
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment