diff options
Diffstat (limited to 'tests/lib/App/AppStore/Bundles/BundleFetcherTest.php')
-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'); |