Code Review
/
portal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fixed the test cases,added sonar config
[portal.git]
/
portal-FE-common
/
src
/
app
/
shared
/
services
/
basic-auth-account
/
basic-auth-account.service.spec.ts
diff --git
a/portal-FE-common/src/app/shared/services/basic-auth-account/basic-auth-account.service.spec.ts
b/portal-FE-common/src/app/shared/services/basic-auth-account/basic-auth-account.service.spec.ts
index
4a6c0f4
..
72267b9
100644
(file)
--- a/
portal-FE-common/src/app/shared/services/basic-auth-account/basic-auth-account.service.spec.ts
+++ b/
portal-FE-common/src/app/shared/services/basic-auth-account/basic-auth-account.service.spec.ts
@@
-39,9
+39,10
@@
import { TestBed } from '@angular/core/testing';
import { BasicAuthAccountService } from './basic-auth-account.service';
import { TestBed } from '@angular/core/testing';
import { BasicAuthAccountService } from './basic-auth-account.service';
+import { HttpClientTestingModule } from '@angular/common/http/testing';
describe('BasicAuthAccountService', () => {
describe('BasicAuthAccountService', () => {
- beforeEach(() => TestBed.configureTestingModule({}));
+ beforeEach(() => TestBed.configureTestingModule({
imports:[HttpClientTestingModule]
}));
it('should be created', () => {
const service: BasicAuthAccountService = TestBed.get(BasicAuthAccountService);
it('should be created', () => {
const service: BasicAuthAccountService = TestBed.get(BasicAuthAccountService);