diff options
author | Arundathi Patil <arundpil@in.ibm.com> | 2019-11-04 19:04:13 +0530 |
---|---|---|
committer | Takamune Cho <takamune.cho@att.com> | 2019-11-07 14:04:44 +0000 |
commit | 60885e681f89907b507650bf93cb7a388c8c4ed3 (patch) | |
tree | 964e3ee9b43e518d11eba58efda1e5420064f397 /src/app | |
parent | d7b9446c1be73c351eebb26a5731d53ceae22f09 (diff) |
parameter.component- test fix
Added provider for API service
Issue-ID: APPC-1632
Change-Id: I9652e143a1f1ea81e7bef30a9deaf8410e2ad202
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
Diffstat (limited to 'src/app')
-rw-r--r-- | src/app/vnfs/build-artifacts/parameter-definitions/parameter.component.spec.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/app/vnfs/build-artifacts/parameter-definitions/parameter.component.spec.ts b/src/app/vnfs/build-artifacts/parameter-definitions/parameter.component.spec.ts index 8d0d617..044b04b 100644 --- a/src/app/vnfs/build-artifacts/parameter-definitions/parameter.component.spec.ts +++ b/src/app/vnfs/build-artifacts/parameter-definitions/parameter.component.spec.ts @@ -48,6 +48,7 @@ import {TestComponent} from '../../../test/test.component'; import {ParameterComponent} from './parameter.component'; import {HttpModule} from '@angular/http'; import { NgProgress } from 'ngx-progressbar'; +import { APIService } from "../../../shared/services/cdt.apicall"; @@ -85,7 +86,7 @@ describe('ParameterComponent', () => { declarations: [ParameterComponent, HomeComponent, TestComponent, HelpComponent, AboutUsComponent, LogoutComponent], schemas: [NO_ERRORS_SCHEMA], imports: [HttpModule, FormsModule, RouterTestingModule.withRoutes(routes)], - providers: [UtilityService, NgProgress, BuildDesignComponent, ParamShareService, DialogService, NotificationService, HttpUtilService, MappingEditorService, NotificationsService, NgxSpinnerService] + providers: [APIService, UtilityService, NgProgress, BuildDesignComponent, ParamShareService, DialogService, NotificationService, HttpUtilService, MappingEditorService, NotificationsService, NgxSpinnerService] }) .compileComponents(); })); |