From e1d39658834a96aae88cc81c84d67add2ec43430 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Thu, 9 Aug 2018 16:12:48 +0200 Subject: [PATCH] Add the ToS app to the enterprise bundle Signed-off-by: Joas Schilling --- lib/private/App/AppStore/Bundles/EnterpriseBundle.php | 7 ++++--- tests/lib/App/AppStore/Bundles/EnterpriseBundleTest.php | 1 + 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/lib/private/App/AppStore/Bundles/EnterpriseBundle.php b/lib/private/App/AppStore/Bundles/EnterpriseBundle.php index d32fd8c856e10..96ede656dae47 100644 --- a/lib/private/App/AppStore/Bundles/EnterpriseBundle.php +++ b/lib/private/App/AppStore/Bundles/EnterpriseBundle.php @@ -28,14 +28,14 @@ class EnterpriseBundle extends Bundle { /** * {@inheritDoc} */ - public function getName() { - return (string)$this->l10n->t('Enterprise bundle'); + public function getName(): string { + return $this->l10n->t('Enterprise bundle'); } /** * {@inheritDoc} */ - public function getAppIdentifiers() { + public function getAppIdentifiers(): array { return [ 'admin_audit', 'user_ldap', @@ -43,6 +43,7 @@ public function getAppIdentifiers() { 'files_automatedtagging', 'user_saml', 'files_accesscontrol', + 'terms_of_service', ]; } diff --git a/tests/lib/App/AppStore/Bundles/EnterpriseBundleTest.php b/tests/lib/App/AppStore/Bundles/EnterpriseBundleTest.php index e75486b3ed5ea..b3182ff00c84e 100644 --- a/tests/lib/App/AppStore/Bundles/EnterpriseBundleTest.php +++ b/tests/lib/App/AppStore/Bundles/EnterpriseBundleTest.php @@ -36,6 +36,7 @@ public function setUp() { 'files_automatedtagging', 'user_saml', 'files_accesscontrol', + 'terms_of_service', ]; } }