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>
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 {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 @@
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();
}));