diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2017-12-18 21:06:52 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2017-12-18 21:06:52 +0100 |
commit | 094d41937a5889e4c545ecf575aa1acbcf489a55 (patch) | |
tree | 4a71ab1400b253b6fc751215443994f8af65b2dd /tests/lib/App | |
parent | d2d73f1ce8733623a780db62427c61ff007b33cb (diff) | |
download | nextcloud-server-094d41937a5889e4c545ecf575aa1acbcf489a55.tar.gz nextcloud-server-094d41937a5889e4c545ecf575aa1acbcf489a55.zip |
Fix tests
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'tests/lib/App')
-rw-r--r-- | tests/lib/App/AppManagerTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/App/AppManagerTest.php b/tests/lib/App/AppManagerTest.php index c2c0ea55072..c361db7b76b 100644 --- a/tests/lib/App/AppManagerTest.php +++ b/tests/lib/App/AppManagerTest.php @@ -100,7 +100,7 @@ class AppManagerTest extends TestCase { $this->cache = $this->createMock(ICache::class); $this->eventDispatcher = $this->createMock(EventDispatcherInterface::class); $this->cacheFactory->expects($this->any()) - ->method('create') + ->method('createDistributed') ->with('settings') ->willReturn($this->cache); $this->manager = new AppManager($this->userSession, $this->appConfig, $this->groupManager, $this->cacheFactory, $this->eventDispatcher); |