diff options
author | Joas Schilling <nickvergessen@owncloud.com> | 2015-04-01 17:19:44 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@owncloud.com> | 2015-04-01 17:19:44 +0200 |
commit | aa6573cf542737070a7404f86c98b22349508644 (patch) | |
tree | 8cbe44121b6e18c292855f4e36e8aec12f18d614 /tests/lib/app.php | |
parent | d01cfde98229c6d1bd14feefd889205027920d14 (diff) | |
download | nextcloud-server-aa6573cf542737070a7404f86c98b22349508644.tar.gz nextcloud-server-aa6573cf542737070a7404f86c98b22349508644.zip |
Adjust tests and check whether clear() is called
Diffstat (limited to 'tests/lib/app.php')
-rw-r--r-- | tests/lib/app.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/app.php b/tests/lib/app.php index 86a407c1a95..3f380f74fd2 100644 --- a/tests/lib/app.php +++ b/tests/lib/app.php @@ -470,7 +470,7 @@ class Test_App extends \Test\TestCase { return $appConfig; }); \OC::$server->registerService('AppManager', function (\OC\Server $c) use ($appConfig) { - return new \OC\App\AppManager($c->getUserSession(), $appConfig, $c->getGroupManager()); + return new \OC\App\AppManager($c->getUserSession(), $appConfig, $c->getGroupManager(), $c->getMemCacheFactory()); }); } @@ -482,7 +482,7 @@ class Test_App extends \Test\TestCase { return new \OC\AppConfig(\OC_DB::getConnection()); }); \OC::$server->registerService('AppManager', function (\OC\Server $c) { - return new \OC\App\AppManager($c->getUserSession(), $c->getAppConfig(), $c->getGroupManager()); + return new \OC\App\AppManager($c->getUserSession(), $c->getAppConfig(), $c->getGroupManager(), $c->getMemCacheFactory()); }); // Remove the cache of the mocked apps list with a forceRefresh |