summaryrefslogtreecommitdiffstats
path: root/src/app/vnfs
diff options
context:
space:
mode:
authorArundathi Patil <arundpil@in.ibm.com>2018-07-30 15:23:25 +0530
committerTakamune Cho <tc012c@att.com>2018-08-02 23:27:18 +0000
commita7d223b6c02187f72cf481ab115d5db9e11a8edc (patch)
tree88ee26dbc071ac9c0bdf25552131d9b12095403a /src/app/vnfs
parent616ade017493190d288638060d6269ff23ca5c48 (diff)
Fixed error in param-name-value spec file
Test cases in param-name-value.component.spec file failed with below error, Error: No Provider for Utility service Fixed this error Issue-ID: APPC-1064 Change-Id: Ie0e63be45b1cdde0bd2169168c562452babd6aa5 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
Diffstat (limited to 'src/app/vnfs')
-rw-r--r--src/app/vnfs/build-artifacts/template-holder/param-name-value/param-name-value.component.spec.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/app/vnfs/build-artifacts/template-holder/param-name-value/param-name-value.component.spec.ts b/src/app/vnfs/build-artifacts/template-holder/param-name-value/param-name-value.component.spec.ts
index 705f430..e549238 100644
--- a/src/app/vnfs/build-artifacts/template-holder/param-name-value/param-name-value.component.spec.ts
+++ b/src/app/vnfs/build-artifacts/template-holder/param-name-value/param-name-value.component.spec.ts
@@ -58,6 +58,7 @@ import { NgProgress } from 'ngx-progressbar';
import { BaseRequestOptions, Response, ResponseOptions, Http } from '@angular/http';
import { MockBackend, MockConnection } from '@angular/http/testing';
import { NgxSpinnerService } from 'ngx-spinner';
+import { UtilityService } from '../../../../shared/services/utilityService/utility.service';
describe('GoldenConfigurationMappingComponent', () => {
@@ -103,7 +104,7 @@ describe('GoldenConfigurationMappingComponent', () => {
TestBed.configureTestingModule({
imports: [FormsModule, BrowserModule, RouterTestingModule.withRoutes(routes), HttpModule, Ng2Bs3ModalModule, SimpleNotificationsModule.forRoot()],
declarations: [GoldenConfigurationMappingComponent, HomeComponent, TestComponent, HelpComponent, AboutUsComponent, LogoutComponent, AceEditorComponent],
- providers: [BuildDesignComponent, NgProgress, ParamShareService, DialogService, NotificationService, MockBackend,
+ providers: [UtilityService, BuildDesignComponent, NgProgress, ParamShareService, DialogService, NotificationService, MockBackend,
HttpUtilService, MappingEditorService, NotificationsService, NgxSpinnerService,
BaseRequestOptions,
{