summaryrefslogtreecommitdiffstats
path: root/tests/Core
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2017-12-18 21:06:52 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2017-12-18 21:06:52 +0100
commit094d41937a5889e4c545ecf575aa1acbcf489a55 (patch)
tree4a71ab1400b253b6fc751215443994f8af65b2dd /tests/Core
parentd2d73f1ce8733623a780db62427c61ff007b33cb (diff)
downloadnextcloud-server-094d41937a5889e4c545ecf575aa1acbcf489a55.tar.gz
nextcloud-server-094d41937a5889e4c545ecf575aa1acbcf489a55.zip
Fix tests
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'tests/Core')
-rw-r--r--tests/Core/Command/Maintenance/UpdateTheme.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Core/Command/Maintenance/UpdateTheme.php b/tests/Core/Command/Maintenance/UpdateTheme.php
index fbdea0b72b4..cbc417dbdba 100644
--- a/tests/Core/Command/Maintenance/UpdateTheme.php
+++ b/tests/Core/Command/Maintenance/UpdateTheme.php
@@ -74,7 +74,7 @@ class UpdateThemeTest extends TestCase {
->method('clear')
->with('');
$this->cacheFactory->expects($this->once())
- ->method('create')
+ ->method('createDistributed')
->with('imagePath')
->willReturn($cache);
self::invokePrivate($this->command, 'execute', [$this->consoleInput, $this->consoleOutput]);