aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArundathi Patil <arundpil@in.ibm.com>2019-11-04 19:04:13 +0530
committerTakamune Cho <takamune.cho@att.com>2019-11-07 14:04:44 +0000
commit60885e681f89907b507650bf93cb7a388c8c4ed3 (patch)
tree964e3ee9b43e518d11eba58efda1e5420064f397
parentd7b9446c1be73c351eebb26a5731d53ceae22f09 (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>
-rw-r--r--src/app/vnfs/build-artifacts/parameter-definitions/parameter.component.spec.ts3
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();
}));