aboutsummaryrefslogtreecommitdiffstats
path: root/src/app/vnfs/build-artifacts/template-holder/template-configuration
diff options
context:
space:
mode:
authorArundathi Patil <arundpil@in.ibm.com>2018-07-27 16:06:59 +0530
committerTakamune Cho <tc012c@att.com>2018-08-01 13:19:24 +0000
commit2b95201745c791dc0e71004478cb34e4b896cda4 (patch)
tree5374dea4f3b0a0782aad531461453c9d4ef4bae9 /src/app/vnfs/build-artifacts/template-holder/template-configuration
parent9095da958110edbe88704ee39648d48277f1b9f4 (diff)
Fixed error in template-configuration spec
Test cases in template-configuration spec file failed with the below error, Error: No provider for UtilityService. Fixed this error. Issue-ID: APPC-1064 Change-Id: Ibb580435a3f70024988434eba74b61be80423990 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
Diffstat (limited to 'src/app/vnfs/build-artifacts/template-holder/template-configuration')
-rw-r--r--src/app/vnfs/build-artifacts/template-holder/template-configuration/template-configuration.component.spec.ts3
1 files changed, 2 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 4c682a4..06cea21 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
@@ -56,6 +56,7 @@ import { GoldenConfigurationComponent } from './template-configuration.component
import { NgProgress } from 'ngx-progressbar';
import { BaseRequestOptions, Response, ResponseOptions, Http } from '@angular/http';
import { MockBackend, MockConnection } from '@angular/http/testing';
+import { UtilityService } from '../../../../shared/services/utilityService/utility.service';
describe('GoldenConfigurationComponent', () => {
let component: GoldenConfigurationComponent;
@@ -101,7 +102,7 @@ describe('GoldenConfigurationComponent', () => {
imports: [FormsModule, BrowserModule, RouterTestingModule.withRoutes(routes), HttpModule, Ng2Bs3ModalModule, SimpleNotificationsModule.forRoot()],
declarations: [GoldenConfigurationComponent, HomeComponent, TestComponent, HelpComponent, AboutUsComponent, LogoutComponent, AceEditorComponent],
providers: [BuildDesignComponent, NgProgress, ParamShareService, DialogService, NotificationService, NgxSpinnerService, MockBackend,
- BaseRequestOptions,
+ BaseRequestOptions, UtilityService,
{
provide: Http,
useFactory: (backend: MockBackend, defaultOptions: BaseRequestOptions) => {