X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=portal-FE-common%2Fsrc%2Fapp%2Fshared%2Fservices%2Fbasic-auth-account%2Fbasic-auth-account.service.spec.ts;h=72267b95e9b0aa3071894e8bc19ff2bb2c2cf6c4;hb=4c6f6a443cb2e6effa995e77d56689c1c2dab4ad;hp=4a6c0f434fc44495e928297a0394d0e9e0d500d9;hpb=a03dfa273ef6e196bf65acc54b9357d35eb0ed5e;p=portal.git 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 4a6c0f43..72267b95 100644 --- 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 { HttpClientTestingModule } from '@angular/common/http/testing'; describe('BasicAuthAccountService', () => { - beforeEach(() => TestBed.configureTestingModule({})); + beforeEach(() => TestBed.configureTestingModule({imports:[HttpClientTestingModule]})); it('should be created', () => { const service: BasicAuthAccountService = TestBed.get(BasicAuthAccountService);