aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorszaimen <szaimen@e.mail.de>2022-10-14 15:25:02 +0200
committerszaimen <szaimen@e.mail.de>2022-10-17 17:51:39 +0200
commit1d17a0843a5e578508847cc0a906f184b9a9b994 (patch)
tree5ec8346a61428682a8740b91feea03f43da3595f /tests
parent2cef188b41fd544cbcfe8d279c0afbf6cf4b5a10 (diff)
downloadnextcloud-server-1d17a0843a5e578508847cc0a906f184b9a9b994.tar.gz
nextcloud-server-1d17a0843a5e578508847cc0a906f184b9a9b994.zip
set theming app to alwaysEnabled
Signed-off-by: szaimen <szaimen@e.mail.de>
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/App/AppManagerTest.php5
-rw-r--r--tests/lib/AppTest.php9
2 files changed, 12 insertions, 2 deletions
diff --git a/tests/lib/App/AppManagerTest.php b/tests/lib/App/AppManagerTest.php
index db2f117cb9b..de515837406 100644
--- a/tests/lib/App/AppManagerTest.php
+++ b/tests/lib/App/AppManagerTest.php
@@ -429,6 +429,7 @@ class AppManagerTest extends TestCase {
'settings',
'test1',
'test3',
+ 'theming',
'twofactor_backupcodes',
'viewer',
'workflowengine',
@@ -458,6 +459,7 @@ class AppManagerTest extends TestCase {
'settings',
'test1',
'test3',
+ 'theming',
'twofactor_backupcodes',
'viewer',
'workflowengine',
@@ -485,6 +487,7 @@ class AppManagerTest extends TestCase {
'test4' => ['id' => 'test4', 'version' => '3.0.0', 'requiremin' => '8.1.0'],
'testnoversion' => ['id' => 'testnoversion', 'requiremin' => '8.2.0'],
'settings' => ['id' => 'settings'],
+ 'theming' => ['id' => 'theming'],
'twofactor_backupcodes' => ['id' => 'twofactor_backupcodes'],
'viewer' => ['id' => 'viewer'],
'workflowengine' => ['id' => 'workflowengine'],
@@ -534,6 +537,7 @@ class AppManagerTest extends TestCase {
'test3' => ['id' => 'test3', 'version' => '1.2.4', 'requiremin' => '9.0.0'],
'settings' => ['id' => 'settings'],
'testnoversion' => ['id' => 'testnoversion', 'requiremin' => '8.2.0'],
+ 'theming' => ['id' => 'theming'],
'twofactor_backupcodes' => ['id' => 'twofactor_backupcodes'],
'workflowengine' => ['id' => 'workflowengine'],
'oauth2' => ['id' => 'oauth2'],
@@ -580,6 +584,7 @@ class AppManagerTest extends TestCase {
'settings',
'test1',
'test3',
+ 'theming',
'twofactor_backupcodes',
'viewer',
'workflowengine',
diff --git a/tests/lib/AppTest.php b/tests/lib/AppTest.php
index 22fad4ab61f..4b2619a3761 100644
--- a/tests/lib/AppTest.php
+++ b/tests/lib/AppTest.php
@@ -346,6 +346,7 @@ class AppTest extends \Test\TestCase {
'oauth2',
'provisioning_api',
'settings',
+ 'theming',
'twofactor_backupcodes',
'viewer',
'workflowengine',
@@ -368,6 +369,7 @@ class AppTest extends \Test\TestCase {
'oauth2',
'provisioning_api',
'settings',
+ 'theming',
'twofactor_backupcodes',
'viewer',
'workflowengine',
@@ -391,6 +393,7 @@ class AppTest extends \Test\TestCase {
'oauth2',
'provisioning_api',
'settings',
+ 'theming',
'twofactor_backupcodes',
'viewer',
'workflowengine',
@@ -414,6 +417,7 @@ class AppTest extends \Test\TestCase {
'oauth2',
'provisioning_api',
'settings',
+ 'theming',
'twofactor_backupcodes',
'viewer',
'workflowengine',
@@ -437,6 +441,7 @@ class AppTest extends \Test\TestCase {
'oauth2',
'provisioning_api',
'settings',
+ 'theming',
'twofactor_backupcodes',
'viewer',
'workflowengine',
@@ -517,11 +522,11 @@ class AppTest extends \Test\TestCase {
);
$apps = \OC_App::getEnabledApps();
- $this->assertEquals(['files', 'app3', 'cloud_federation_api', 'dav', 'federatedfilesharing', 'lookup_server_connector', 'oauth2', 'provisioning_api', 'settings', 'twofactor_backupcodes', 'viewer', 'workflowengine'], $apps);
+ $this->assertEquals(['files', 'app3', 'cloud_federation_api', 'dav', 'federatedfilesharing', 'lookup_server_connector', 'oauth2', 'provisioning_api', 'settings', 'theming', 'twofactor_backupcodes', 'viewer', 'workflowengine'], $apps);
// mock should not be called again here
$apps = \OC_App::getEnabledApps();
- $this->assertEquals(['files', 'app3', 'cloud_federation_api', 'dav', 'federatedfilesharing', 'lookup_server_connector', 'oauth2', 'provisioning_api', 'settings', 'twofactor_backupcodes', 'viewer', 'workflowengine'], $apps);
+ $this->assertEquals(['files', 'app3', 'cloud_federation_api', 'dav', 'federatedfilesharing', 'lookup_server_connector', 'oauth2', 'provisioning_api', 'settings', 'theming', 'twofactor_backupcodes', 'viewer', 'workflowengine'], $apps);
$this->restoreAppConfig();
\OC_User::setUserId(null);