summaryrefslogtreecommitdiffstats
path: root/tests/lib/Avatar/UserAvatarTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/Avatar/UserAvatarTest.php')
-rw-r--r--tests/lib/Avatar/UserAvatarTest.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/lib/Avatar/UserAvatarTest.php b/tests/lib/Avatar/UserAvatarTest.php
index b93c4112af5..d3e36954cee 100644
--- a/tests/lib/Avatar/UserAvatarTest.php
+++ b/tests/lib/Avatar/UserAvatarTest.php
@@ -57,13 +57,13 @@ class UserAvatarTest extends \Test\TestCase {
->willReturn($file);
$this->folder->method('getFile')
- ->willReturnCallback(function($path) {
+ ->willReturnCallback(function ($path) {
if ($path === 'avatar.64.png') {
throw new NotFoundException();
}
});
$this->folder->method('fileExists')
- ->willReturnCallback(function($path) {
+ ->willReturnCallback(function ($path) {
if ($path === 'generated') {
return true;
}
@@ -134,7 +134,7 @@ class UserAvatarTest extends \Test\TestCase {
$this->folder->method('getFile')
->willReturnCallback(
- function($path) use ($file) {
+ function ($path) use ($file) {
if ($path === 'avatar.png') {
return $file;
} else {