aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArundathi Patil <arundpil@in.ibm.com>2019-10-30 23:44:01 +0530
committerTakamune Cho <takamune.cho@att.com>2019-11-01 16:01:14 +0000
commit7c3d1e2a9934feddd119d3c4f9366ade384cfa05 (patch)
treeeb808907bf640341e9b3d4154ab7d62d91dddc78
parentf7a27193b7fdd079147103e2a04984e49630e573 (diff)
LoginGuardService: testbed configuration changes
Added NgbModule to the testbest configuration. Issue-ID: APPC-1632 Change-Id: I062de6f9c8e85a3a80cfcb63275277052dcca39a Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
-rw-r--r--src/app/vnfs/LoginGuardService/LoginGuardService.spec.ts5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/app/vnfs/LoginGuardService/LoginGuardService.spec.ts b/src/app/vnfs/LoginGuardService/LoginGuardService.spec.ts
index bf45684..1c57478 100644
--- a/src/app/vnfs/LoginGuardService/LoginGuardService.spec.ts
+++ b/src/app/vnfs/LoginGuardService/LoginGuardService.spec.ts
@@ -1,4 +1,4 @@
-/*
+11/*
============LICENSE_START==========================================
===================================================================
Copyright (C) 2018 IBM.
@@ -24,6 +24,7 @@ import { Router, ActivatedRouteSnapshot, RouterStateSnapshot } from '@angular/ro
import {FormsModule} from '@angular/forms';
import {HttpModule} from '@angular/http';
import {CommonModule} from '@angular/common';
+import {NgbModule} from '@ng-bootstrap/ng-bootstrap';
import 'rxjs/Rx';
import 'rxjs/add/observable/throw';
import 'rxjs/add/operator/map';
@@ -39,7 +40,7 @@ describe('LogginGuard', () => {
beforeEach(() => {
TestBed.configureTestingModule({
- imports: [FormsModule, CommonModule, HttpModule],
+ imports: [FormsModule, CommonModule, HttpModule, NgbModule.forRoot()],
providers: [LoginGuardService, NgbModal, MappingEditorService, {provide: Router, useValue: routerMock}]
});
TestBed.compileComponents();