From 8d88775216d3eaabc8b48ce7f6b371c17b0c7b14 Mon Sep 17 00:00:00 2001
From: Arundathi Patil <arundpil@in.ibm.com>
Date: Tue, 24 Jul 2018 16:57:04 +0530
Subject: Fixed error in spec file

Test cases in parameter.component spec file failed with below error,
Error: No provider for NGXSpinnerService
Fixed this issue

Issue-ID: APPC-1064
Change-Id: I51d8e79888e182fef11d0c99936953ed0eabd380
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
---
 .../build-artifacts/parameter-definitions/parameter.component.spec.ts  | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'src')

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 d539d6a..96cb9bb 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
@@ -27,6 +27,7 @@ ECOMP is a trademark and service mark of AT&T Intellectual Property.
 import {async, ComponentFixture, TestBed, inject} from '@angular/core/testing';
 import {NO_ERRORS_SCHEMA} from '@angular/core';
 import {FormsModule} from '@angular/forms';
+import { NgxSpinnerService } from 'ngx-spinner';
 import {NotificationService} from '../../../shared/services/notification.service';
 import {ParamShareService} from '../../../shared/services/paramShare.service';
 import {MappingEditorService} from '../../../shared/services/mapping-editor.service';
@@ -84,7 +85,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]
+            providers: [UtilityService, NgProgress, BuildDesignComponent, ParamShareService, DialogService, NotificationService, HttpUtilService, MappingEditorService, NotificationsService, NgxSpinnerService]
         })
             .compileComponents();
     }));
-- 
cgit