aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/AppTest.php
diff options
context:
space:
mode:
authorBjoern Schiessle <bjoern@schiessle.org>2018-06-29 10:46:09 +0200
committerBjoern Schiessle <bjoern@schiessle.org>2018-07-02 12:43:43 +0200
commit511a34b08f3c66dd354dc188eec4cbca170ad6a9 (patch)
tree4eea74f4f47e04707a1dcd27072049dc98d65d46 /tests/lib/AppTest.php
parentcdf8abb060c596fec937bdc7ec4f287b22b240a3 (diff)
downloadnextcloud-server-511a34b08f3c66dd354dc188eec4cbca170ad6a9.tar.gz
nextcloud-server-511a34b08f3c66dd354dc188eec4cbca170ad6a9.zip
always enable cloud federation api
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
Diffstat (limited to 'tests/lib/AppTest.php')
-rw-r--r--tests/lib/AppTest.php9
1 files changed, 7 insertions, 2 deletions
diff --git a/tests/lib/AppTest.php b/tests/lib/AppTest.php
index 1334aa62f13..5d98dc7df57 100644
--- a/tests/lib/AppTest.php
+++ b/tests/lib/AppTest.php
@@ -338,6 +338,7 @@ class AppTest extends \Test\TestCase {
'app3',
'appforgroup1',
'appforgroup12',
+ 'cloud_federation_api',
'dav',
'federatedfilesharing',
'lookup_server_connector',
@@ -357,6 +358,7 @@ class AppTest extends \Test\TestCase {
'app3',
'appforgroup12',
'appforgroup2',
+ 'cloud_federation_api',
'dav',
'federatedfilesharing',
'lookup_server_connector',
@@ -377,6 +379,7 @@ class AppTest extends \Test\TestCase {
'appforgroup1',
'appforgroup12',
'appforgroup2',
+ 'cloud_federation_api',
'dav',
'federatedfilesharing',
'lookup_server_connector',
@@ -397,6 +400,7 @@ class AppTest extends \Test\TestCase {
'appforgroup1',
'appforgroup12',
'appforgroup2',
+ 'cloud_federation_api',
'dav',
'federatedfilesharing',
'lookup_server_connector',
@@ -417,6 +421,7 @@ class AppTest extends \Test\TestCase {
'appforgroup1',
'appforgroup12',
'appforgroup2',
+ 'cloud_federation_api',
'dav',
'federatedfilesharing',
'lookup_server_connector',
@@ -501,11 +506,11 @@ class AppTest extends \Test\TestCase {
);
$apps = \OC_App::getEnabledApps();
- $this->assertEquals(array('files', 'app3', 'dav', 'federatedfilesharing', 'lookup_server_connector', 'oauth2', 'provisioning_api', 'twofactor_backupcodes', 'workflowengine'), $apps);
+ $this->assertEquals(array('files', 'app3', 'cloud_federation_api', 'dav', 'federatedfilesharing', 'lookup_server_connector', 'oauth2', 'provisioning_api', 'twofactor_backupcodes', 'workflowengine'), $apps);
// mock should not be called again here
$apps = \OC_App::getEnabledApps();
- $this->assertEquals(array('files', 'app3', 'dav', 'federatedfilesharing', 'lookup_server_connector', 'oauth2', 'provisioning_api', 'twofactor_backupcodes', 'workflowengine'), $apps);
+ $this->assertEquals(array('files', 'app3', 'cloud_federation_api', 'dav', 'federatedfilesharing', 'lookup_server_connector', 'oauth2', 'provisioning_api', 'twofactor_backupcodes', 'workflowengine'), $apps);
$this->restoreAppConfig();
\OC_User::setUserId(null);