This is an automated email from the ASF dual-hosted git repository.
heneveld pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/brooklyn-ui.git
The following commit(s) were added to refs/heads/master by this push:
new 88f0cca fix test mocks dependency injection
new 6951421 Merge branch 'quick-fixes'
88f0cca is described below
commit 88f0cca72d48f20992cf0dbb23aaa4c12846cdac
Author: Alex Heneveld <[email protected]>
AuthorDate: Wed Apr 28 01:52:12 2021 +0100
fix test mocks dependency injection
---
.../app/components/providers/blueprint-service.provider.spec.js | 1 +
1 file changed, 1 insertion(+)
diff --git
a/ui-modules/blueprint-composer/app/components/providers/blueprint-service.provider.spec.js
b/ui-modules/blueprint-composer/app/components/providers/blueprint-service.provider.spec.js
index 2514e9e..a218fe1 100644
---
a/ui-modules/blueprint-composer/app/components/providers/blueprint-service.provider.spec.js
+++
b/ui-modules/blueprint-composer/app/components/providers/blueprint-service.provider.spec.js
@@ -35,6 +35,7 @@ describe('Blueprint Service', ()=> {
$provide.provider('iconGenerator', iconGeneratorProvider);
$provide.provider('dslService', dslServiceProvider);
$provide.provider('blueprintService', blueprintServiceProvider);
+ $provide.provider('brBrandInfo', {$get: () => {}});
}));
beforeEach(angular.mock.inject((_$rootScope_, _blueprintService_)=> {
$rootScope = _$rootScope_;