summaryrefslogtreecommitdiffstats
path: root/src/app/vnfs/build-artifacts
diff options
context:
space:
mode:
authorArundathi Patil <arundpil@in.ibm.com>2018-07-19 14:23:13 +0530
committerPatrick Brady <pb071s@att.com>2018-07-20 22:44:05 +0000
commitfe5bf3a03823b573f66a29b96d34d911b1c2fdfe (patch)
tree42e021767986c050e17dafa7176da845d98066c0 /src/app/vnfs/build-artifacts
parent99570c5a235b60989100ba9d0fbce630797164e6 (diff)
Fixed error in spec file
All the test cases in template-configuration spec file failed with the below error. Error: "No provider for NGXSpinnerService". Fixed this error. Issue-ID: APPC-1064 Change-Id: I9ea042519e0f6ba94344d17b9d0e457c4c4480cd Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
Diffstat (limited to 'src/app/vnfs/build-artifacts')
-rw-r--r--src/app/vnfs/build-artifacts/template-holder/template-configuration/template-configuration.component.spec.ts5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/app/vnfs/build-artifacts/template-holder/template-configuration/template-configuration.component.spec.ts b/src/app/vnfs/build-artifacts/template-holder/template-configuration/template-configuration.component.spec.ts
index 8ad635b..4c682a4 100644
--- a/src/app/vnfs/build-artifacts/template-holder/template-configuration/template-configuration.component.spec.ts
+++ b/src/app/vnfs/build-artifacts/template-holder/template-configuration/template-configuration.component.spec.ts
@@ -2,6 +2,8 @@
============LICENSE_START==========================================
===================================================================
Copyright (C) 2018 AT&T Intellectual Property. All rights reserved.
+
+Copyright (C) 2018 IBM Intellectual Property. All rights reserved.
===================================================================
Unless otherwise specified, all software contained herein is licensed
@@ -25,6 +27,7 @@ import { async, ComponentFixture, TestBed, inject } from '@angular/core/testing'
import { By, BrowserModule } from '@angular/platform-browser';
import { DebugElement, NO_ERRORS_SCHEMA } from '@angular/core';
import { Component, OnInit, ViewChild, Input } from '@angular/core';
+import { NgxSpinnerService } from 'ngx-spinner';
import { HttpUtilService } from '../../../../shared/services/httpUtil/http-util.service';
import { MappingEditorService } from '../../../../shared/services/mapping-editor.service';
import { ArtifactRequest } from '../../../../shared/models/index';
@@ -97,7 +100,7 @@ describe('GoldenConfigurationComponent', () => {
TestBed.configureTestingModule({
imports: [FormsModule, BrowserModule, RouterTestingModule.withRoutes(routes), HttpModule, Ng2Bs3ModalModule, SimpleNotificationsModule.forRoot()],
declarations: [GoldenConfigurationComponent, HomeComponent, TestComponent, HelpComponent, AboutUsComponent, LogoutComponent, AceEditorComponent],
- providers: [BuildDesignComponent, NgProgress, ParamShareService, DialogService, NotificationService, MockBackend,
+ providers: [BuildDesignComponent, NgProgress, ParamShareService, DialogService, NotificationService, NgxSpinnerService, MockBackend,
BaseRequestOptions,
{
provide: Http,