Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorblizzz <blizzz@arthur-schiwon.de>2022-10-18 11:13:56 +0300
committerGitHub <noreply@github.com>2022-10-18 11:13:56 +0300
commitd29332469ab02d0ae014ea7a453f63bf7fc1219d (patch)
tree370543d011e7b91f2fe0f48afa8f7e591f5836df /tests
parent495d49a1324d5047ab122a20d1900e0239d4de59 (diff)
parent1d17a0843a5e578508847cc0a906f184b9a9b994 (diff)
Merge pull request #34609 from nextcloud/enh/noid/always-enable-theming
set theming app to alwaysEnabled
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);