parameter.component- test fix 10/97910/2
authorArundathi Patil <arundpil@in.ibm.com>
Mon, 4 Nov 2019 13:34:13 +0000 (19:04 +0530)
committerTakamune Cho <takamune.cho@att.com>
Thu, 7 Nov 2019 14:04:44 +0000 (14:04 +0000)
Added provider for API service

Issue-ID: APPC-1632
Change-Id: I9652e143a1f1ea81e7bef30a9deaf8410e2ad202
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
src/app/vnfs/build-artifacts/parameter-definitions/parameter.component.spec.ts

index 8d0d617..044b04b 100644 (file)
@@ -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();
     }));