summaryrefslogtreecommitdiffstats
path: root/src/app
diff options
context:
space:
mode:
authorArundathi Patil <arundpil@in.ibm.com>2018-07-24 16:57:04 +0530
committerTakamune Cho <tc012c@att.com>2018-07-30 00:07:03 +0000
commit8d88775216d3eaabc8b48ce7f6b371c17b0c7b14 (patch)
tree9591a87e9791b9732de624a6349550dbe2037aa3 /src/app
parent70fc95f0db2ed052cbb6067583cc890646753c9e (diff)
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>
Diffstat (limited to 'src/app')
-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 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();
}));