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 /tests/lib | |
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>
Diffstat (limited to 'tests/lib')
-rw-r--r-- | tests/lib/App/AppManagerTest.php | 5 |
1 files changed, 5 insertions, 0 deletions
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)); |