diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2019-12-10 15:08:19 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2019-12-10 20:06:30 +0100 |
commit | eb8ca3783c49ad432338735b47d17dba46ed3f7b (patch) | |
tree | b4647275f93673e2a897be6aded02d99cc28605b | |
parent | d66246cf94eb1a13af9200c3dc79bf2f81b3346e (diff) | |
download | nextcloud-server-eb8ca3783c49ad432338735b47d17dba46ed3f7b.tar.gz nextcloud-server-eb8ca3783c49ad432338735b47d17dba46ed3f7b.zip |
Viewer should be always enabled
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
-rw-r--r-- | core/shipped.json | 1 | ||||
-rw-r--r-- | tests/lib/App/AppManagerTest.php | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/core/shipped.json b/core/shipped.json index cbe2c788822..da408d5a347 100644 --- a/core/shipped.json +++ b/core/shipped.json @@ -52,6 +52,7 @@ "oauth2", "settings", "twofactor_backupcodes", + "viewer", "workflowengine" ] } diff --git a/tests/lib/App/AppManagerTest.php b/tests/lib/App/AppManagerTest.php index b3437ad290c..11450667fcc 100644 --- a/tests/lib/App/AppManagerTest.php +++ b/tests/lib/App/AppManagerTest.php @@ -390,6 +390,7 @@ class AppManagerTest extends TestCase { 'test1', 'test3', 'twofactor_backupcodes', + 'viewer', 'workflowengine', ]; $this->assertEquals($apps, $this->manager->getInstalledApps()); @@ -418,6 +419,7 @@ class AppManagerTest extends TestCase { 'test1', 'test3', 'twofactor_backupcodes', + 'viewer', 'workflowengine', ]; $this->assertEquals($enabled, $this->manager->getEnabledAppsForUser($user)); @@ -444,6 +446,7 @@ class AppManagerTest extends TestCase { 'testnoversion' => ['id' => 'testnoversion', 'requiremin' => '8.2.0'], 'settings' => ['id' => 'settings'], 'twofactor_backupcodes' => ['id' => 'twofactor_backupcodes'], + 'viewer' => ['id' => 'viewer'], 'workflowengine' => ['id' => 'workflowengine'], 'oauth2' => ['id' => 'oauth2'], ]; @@ -494,6 +497,7 @@ class AppManagerTest extends TestCase { 'twofactor_backupcodes' => ['id' => 'twofactor_backupcodes'], 'workflowengine' => ['id' => 'workflowengine'], 'oauth2' => ['id' => 'oauth2'], + 'viewer' => ['id' => 'viewer'], ]; $manager->expects($this->any()) @@ -537,6 +541,7 @@ class AppManagerTest extends TestCase { 'test1', 'test3', 'twofactor_backupcodes', + 'viewer', 'workflowengine', ]; $this->assertEquals($enabled, $this->manager->getEnabledAppsForGroup($group)); |