summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@owncloud.com>2016-01-07 13:20:43 +0100
committerRoeland Jago Douma <rullzer@owncloud.com>2016-01-07 13:20:43 +0100
commitcd35ad6aaab5c6b8536eeed5e3d699f2571d3d7a (patch)
tree610a73f5e7c9ea4083b6682961006740aee66cd6 /tests
parent336fe868b2ee3a4105b93b71a1e739c9e412237b (diff)
downloadnextcloud-server-cd35ad6aaab5c6b8536eeed5e3d699f2571d3d7a.tar.gz
nextcloud-server-cd35ad6aaab5c6b8536eeed5e3d699f2571d3d7a.zip
Add 'OCP\Files\IMimeTypeDetector' to DI container
* Added test to server container as well
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/server.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/lib/server.php b/tests/lib/server.php
index e2670061e8d..44e1aac5cce 100644
--- a/tests/lib/server.php
+++ b/tests/lib/server.php
@@ -94,6 +94,8 @@ class Server extends \Test\TestCase {
['HttpClientService', '\OCP\Http\Client\IClientService'],
['IniWrapper', '\bantu\IniGetWrapper\IniGetWrapper'],
+ ['MimeTypeDetector', '\OCP\Files\IMimeTypeDetector'],
+ ['MimeTypeDetector', '\OC\Files\Type\Detection'],
['JobList', '\OC\BackgroundJob\JobList'],
['JobList', '\OCP\BackgroundJob\IJobList'],