X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=portal-FE-common%2Fsrc%2Fapp%2Fshared%2Fservices%2Fuserbar%2Fuserbar.service.spec.ts;h=924c85c39aef4ff3e005691bee4e52e728103885;hb=4c6f6a443cb2e6effa995e77d56689c1c2dab4ad;hp=243296260cd5b46085795105be8fb88db1e99e12;hpb=a03dfa273ef6e196bf65acc54b9357d35eb0ed5e;p=portal.git diff --git a/portal-FE-common/src/app/shared/services/userbar/userbar.service.spec.ts b/portal-FE-common/src/app/shared/services/userbar/userbar.service.spec.ts index 24329626..924c85c3 100644 --- a/portal-FE-common/src/app/shared/services/userbar/userbar.service.spec.ts +++ b/portal-FE-common/src/app/shared/services/userbar/userbar.service.spec.ts @@ -1,9 +1,10 @@ import { TestBed } from '@angular/core/testing'; import { UserbarService } from './userbar.service'; +import { HttpClientTestingModule } from '@angular/common/http/testing'; describe('UserbarService', () => { - beforeEach(() => TestBed.configureTestingModule({})); + beforeEach(() => TestBed.configureTestingModule({imports:[HttpClientTestingModule]})); it('should be created', () => { const service: UserbarService = TestBed.get(UserbarService);