summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/shared
diff options
context:
space:
mode:
authorxu ran <xuranyjy@chinamobile.com>2019-11-26 09:40:15 +0000
committerGerrit Code Review <gerrit@onap.org>2019-11-26 09:40:15 +0000
commitd1c12b28674c42d8f17aedae8812f2ccec706437 (patch)
tree6987f64b57d5d009861ec768026b8b10c7b9c7cb /usecaseui-portal/src/app/shared
parent9adc201e8433913f88cde29c14b5863156b9bcba (diff)
parentd8bb2adb3e9c8d5da144947616cae6dca0422398 (diff)
Merge "notification component spec-modules and service"
Diffstat (limited to 'usecaseui-portal/src/app/shared')
-rw-r--r--usecaseui-portal/src/app/shared/components/notification/notification.component.spec.ts7
1 files changed, 6 insertions, 1 deletions
diff --git a/usecaseui-portal/src/app/shared/components/notification/notification.component.spec.ts b/usecaseui-portal/src/app/shared/components/notification/notification.component.spec.ts
index 69192c5e..5d144a43 100644
--- a/usecaseui-portal/src/app/shared/components/notification/notification.component.spec.ts
+++ b/usecaseui-portal/src/app/shared/components/notification/notification.component.spec.ts
@@ -1,4 +1,7 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
+import { TranslateModule } from '@ngx-translate/core';
+import { NzNotificationService } from 'ng-zorro-antd';
+import { NgZorroAntdModule } from 'ng-zorro-antd';
import { NotificationComponent } from './notification.component';
@@ -8,7 +11,9 @@ describe('NotificationComponent', () => {
beforeEach(async(() => {
TestBed.configureTestingModule({
- declarations: [ NotificationComponent ]
+ declarations: [ NotificationComponent ],
+ imports: [ TranslateModule, NgZorroAntdModule ],
+ providers: [ NzNotificationService ]
})
.compileComponents();
}));