aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/server.php
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2015-07-22 13:04:56 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2015-08-10 10:45:16 +0200
commitf0b617b50825566ec1b417eed09688e88de5f0bb (patch)
treed7d009ba3d197dd78ff16e83543bba991dbe250f /tests/lib/server.php
parentc80c9819dcc1a4c79b5c2621a3ec07623e1cd140 (diff)
downloadnextcloud-server-f0b617b50825566ec1b417eed09688e88de5f0bb.tar.gz
nextcloud-server-f0b617b50825566ec1b417eed09688e88de5f0bb.zip
Use DI
* Register OCP\Capability\IManager at DIContainer * Add register capabilities to appframework * Register capabilities in DI way * Make unit test pass again * Remove CapabiltiesManager from OCP
Diffstat (limited to 'tests/lib/server.php')
-rw-r--r--tests/lib/server.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/server.php b/tests/lib/server.php
index 1eb91173deb..9c5c83ceb5c 100644
--- a/tests/lib/server.php
+++ b/tests/lib/server.php
@@ -51,7 +51,7 @@ class Server extends \Test\TestCase {
['AvatarManager', '\OC\AvatarManager'],
['AvatarManager', '\OCP\IAvatarManager'],
- ['CapabilitiesManager', '\OCP\Capabilities\IManager'],
+ ['CapabilitiesManager', '\OC\CapabilitiesManager'],
['ContactsManager', '\OC\ContactsManager'],
['ContactsManager', '\OCP\Contacts\IManager'],
['Crypto', '\OC\Security\Crypto'],