diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2020-01-23 21:06:59 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2020-01-26 21:23:42 +0100 |
commit | 5b18f684e79dbe9e914e81179a6944db23074a57 (patch) | |
tree | 1f9da80d2cc736368d5e6b883426e4bc91a02bc7 /tests | |
parent | 1e0e09e5cedf49a67143f4a94ef1c350cc41884f (diff) | |
download | nextcloud-server-5b18f684e79dbe9e914e81179a6944db23074a57.tar.gz nextcloud-server-5b18f684e79dbe9e914e81179a6944db23074a57.zip |
add hub bundle for easy post-installation
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/App/AppStore/Bundles/BundleFetcherTest.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/lib/App/AppStore/Bundles/BundleFetcherTest.php b/tests/lib/App/AppStore/Bundles/BundleFetcherTest.php index f453fbcb59a..b4d30b4bf50 100644 --- a/tests/lib/App/AppStore/Bundles/BundleFetcherTest.php +++ b/tests/lib/App/AppStore/Bundles/BundleFetcherTest.php @@ -26,6 +26,7 @@ use OC\App\AppStore\Bundles\CoreBundle; use OC\App\AppStore\Bundles\EducationBundle; use OC\App\AppStore\Bundles\EnterpriseBundle; use OC\App\AppStore\Bundles\GroupwareBundle; +use OC\App\AppStore\Bundles\HubBundle; use OC\App\AppStore\Bundles\SocialSharingBundle; use OCP\IL10N; use Test\TestCase; @@ -49,6 +50,7 @@ class BundleFetcherTest extends TestCase { public function testGetBundles() { $expected = [ new EnterpriseBundle($this->l10n), + new HubBundle($this->l10n), new GroupwareBundle($this->l10n), new SocialSharingBundle($this->l10n), new EducationBundle($this->l10n), @@ -69,7 +71,7 @@ class BundleFetcherTest extends TestCase { $this->assertEquals(new GroupwareBundle($this->l10n), $this->bundleFetcher->getBundleByIdentifier('GroupwareBundle')); } - + public function testGetBundleByIdentifierWithException() { $this->expectException(\BadMethodCallException::class); $this->expectExceptionMessage('Bundle with specified identifier does not exist'); |