diff options
author | Arthur Schiwon <blizzz@owncloud.com> | 2016-02-09 02:51:12 +0100 |
---|---|---|
committer | Arthur Schiwon <blizzz@owncloud.com> | 2016-02-09 02:51:12 +0100 |
commit | cd00751de56800748fb47da3880decdd25a65edd (patch) | |
tree | 4ab2a1ed69b158c8dac1fe906a0029f07270a694 /tests/lib/app.php | |
parent | 850ac0cf84f2492b16204b811f58a0dc7dc43b6e (diff) | |
download | nextcloud-server-cd00751de56800748fb47da3880decdd25a65edd.tar.gz nextcloud-server-cd00751de56800748fb47da3880decdd25a65edd.zip |
Send events when enabling and disabling of apps
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 3fb42ea2382..065296827dd 100644 --- a/tests/lib/app.php +++ b/tests/lib/app.php @@ -485,7 +485,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(), $c->getMemCacheFactory()); + return new \OC\App\AppManager($c->getUserSession(), $appConfig, $c->getGroupManager(), $c->getMemCacheFactory(), $c->getEventDispatcher()); }); } @@ -497,7 +497,7 @@ class Test_App extends \Test\TestCase { return new \OC\AppConfig($c->getDatabaseConnection()); }); \OC::$server->registerService('AppManager', function (\OC\Server $c) { - return new \OC\App\AppManager($c->getUserSession(), $c->getAppConfig(), $c->getGroupManager(), $c->getMemCacheFactory()); + return new \OC\App\AppManager($c->getUserSession(), $c->getAppConfig(), $c->getGroupManager(), $c->getMemCacheFactory(), $c->getEventDispatcher()); }); // Remove the cache of the mocked apps list with a forceRefresh |