diff --git a/build/integration/features/provisioning-v1.feature b/build/integration/features/provisioning-v1.feature
index f8eae1b833bdcf5766ccefe69bdcbba40a222f9d..2d6d4a9756a99ca6fec5961e89fd02f1cb6cc1c2 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 a1f340075b85603bd8292f62c1ddf8d814a08480..4aac0d683189cbf1a8f8765b7887ba0613ea91a3 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);