diff options
author | Arundathi Patil <arundpil@in.ibm.com> | 2018-07-24 16:53:55 +0530 |
---|---|---|
committer | Takamune Cho <tc012c@att.com> | 2018-07-26 13:12:04 +0000 |
commit | b1f449e42ab42dd8cc338e21dcc5739e7076ff20 (patch) | |
tree | d5a0c56c16a0ca1ad4227c687ff67463559e9057 /src/app/vnfs/myvnfs | |
parent | 2b6863266a3bb293d61a9c39532718a3cc22c266 (diff) |
Fixed error in spec file
Test cases in myvnfs component spec file failed with the below error,
Error: No provider for notification service
Fixed this issue
Issue-ID: APPC-1064
Change-Id: I39a451414e56b9db3eab7910c79d2d103b44380a
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
Diffstat (limited to 'src/app/vnfs/myvnfs')
-rw-r--r-- | src/app/vnfs/myvnfs/myvnfs.component.spec.ts | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/app/vnfs/myvnfs/myvnfs.component.spec.ts b/src/app/vnfs/myvnfs/myvnfs.component.spec.ts index 5e0c51f..a1106d0 100644 --- a/src/app/vnfs/myvnfs/myvnfs.component.spec.ts +++ b/src/app/vnfs/myvnfs/myvnfs.component.spec.ts @@ -2,6 +2,8 @@ ============LICENSE_START========================================== =================================================================== Copyright (C) 2018 AT&T Intellectual Property. All rights reserved. + +Copyright (C) 2018 IBM Intellectual Property. All rights reserved. =================================================================== Unless otherwise specified, all software contained herein is licensed @@ -37,6 +39,7 @@ import { UtilityService } from '.././../shared/services/utilityService/utility.s import { TidyTableModule } from '../../shared/modules/tidy-table/tidy-table.module'; import { NgModule } from '@angular/core'; import { NgProgress } from 'ngx-progressbar'; +import { NotificationsService } from 'angular2-notifications'; import { NgbModule } from '@ng-bootstrap/ng-bootstrap'; import { @@ -60,7 +63,7 @@ describe('MyvnfsComponent', () => { providers: [ { provide: XHRBackend, useClass: MockBackend }, - NgProgress, UtilityService, ParamShareService, DialogService, NotificationService, HttpUtilService, MappingEditorService] + NgProgress, UtilityService, ParamShareService, DialogService, NotificationService, HttpUtilService, MappingEditorService, NotificationsService] }) .compileComponents(); @@ -165,4 +168,4 @@ describe('MyvnfsComponent', () => { expect(block).toBe(400); }); })) -}); +});
\ No newline at end of file |