diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2019-12-10 23:29:43 +0100 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2019-12-10 23:44:17 +0100 |
commit | edf88934793841f5628370d29c681c3e239d00ef (patch) | |
tree | 53b7a3b75bc7e495d475714c85b5f8257671b54c | |
parent | eb8ca3783c49ad432338735b47d17dba46ed3f7b (diff) | |
download | nextcloud-server-edf88934793841f5628370d29c681c3e239d00ef.tar.gz nextcloud-server-edf88934793841f5628370d29c681c3e239d00ef.zip |
Fix tests
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
-rw-r--r-- | build/integration/features/provisioning-v1.feature | 1 | ||||
-rw-r--r-- | tests/lib/AppTest.php | 9 |
2 files changed, 8 insertions, 2 deletions
diff --git a/build/integration/features/provisioning-v1.feature b/build/integration/features/provisioning-v1.feature index f8eae1b833b..2d6d4a9756a 100644 --- a/build/integration/features/provisioning-v1.feature +++ b/build/integration/features/provisioning-v1.feature @@ -344,6 +344,7 @@ Feature: provisioning | twofactor_backupcodes | | updatenotification | | user_ldap | + | viewer | | workflowengine | | files_external | | oauth2 | diff --git a/tests/lib/AppTest.php b/tests/lib/AppTest.php index a1f340075b8..4aac0d68318 100644 --- a/tests/lib/AppTest.php +++ b/tests/lib/AppTest.php @@ -346,6 +346,7 @@ class AppTest extends \Test\TestCase { 'provisioning_api', 'settings', 'twofactor_backupcodes', + 'viewer', 'workflowengine', ), false @@ -367,6 +368,7 @@ class AppTest extends \Test\TestCase { 'provisioning_api', 'settings', 'twofactor_backupcodes', + 'viewer', 'workflowengine', ), false @@ -389,6 +391,7 @@ class AppTest extends \Test\TestCase { 'provisioning_api', 'settings', 'twofactor_backupcodes', + 'viewer', 'workflowengine', ), false @@ -411,6 +414,7 @@ class AppTest extends \Test\TestCase { 'provisioning_api', 'settings', 'twofactor_backupcodes', + 'viewer', 'workflowengine', ), false, @@ -433,6 +437,7 @@ class AppTest extends \Test\TestCase { 'provisioning_api', 'settings', 'twofactor_backupcodes', + 'viewer', 'workflowengine', ), true, @@ -511,11 +516,11 @@ class AppTest extends \Test\TestCase { ); $apps = \OC_App::getEnabledApps(); - $this->assertEquals(array('files', 'app3', 'cloud_federation_api', 'dav', 'federatedfilesharing', 'lookup_server_connector', 'oauth2', 'provisioning_api', 'settings', 'twofactor_backupcodes', 'workflowengine'), $apps); + $this->assertEquals(array('files', 'app3', 'cloud_federation_api', 'dav', 'federatedfilesharing', 'lookup_server_connector', 'oauth2', 'provisioning_api', 'settings', 'twofactor_backupcodes', 'viewer', 'workflowengine'), $apps); // mock should not be called again here $apps = \OC_App::getEnabledApps(); - $this->assertEquals(array('files', 'app3', 'cloud_federation_api', 'dav', 'federatedfilesharing', 'lookup_server_connector', 'oauth2', 'provisioning_api', 'settings', 'twofactor_backupcodes', 'workflowengine'), $apps); + $this->assertEquals(array('files', 'app3', 'cloud_federation_api', 'dav', 'federatedfilesharing', 'lookup_server_connector', 'oauth2', 'provisioning_api', 'settings', 'twofactor_backupcodes', 'viewer', 'workflowengine'), $apps); $this->restoreAppConfig(); \OC_User::setUserId(null); |