X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=portal-FE-common%2Fsrc%2Fapp%2Flayout%2Fcomponents%2Fuserbar%2Fuserbar.component.spec.ts;h=7aeb829dfdb8e4a0157a53b3fcc7c4e19bb10946;hb=4c6f6a443cb2e6effa995e77d56689c1c2dab4ad;hp=62b9c5433ab3642f244e77c70b031992fd9d290f;hpb=a03dfa273ef6e196bf65acc54b9357d35eb0ed5e;p=portal.git diff --git a/portal-FE-common/src/app/layout/components/userbar/userbar.component.spec.ts b/portal-FE-common/src/app/layout/components/userbar/userbar.component.spec.ts index 62b9c543..7aeb829d 100644 --- a/portal-FE-common/src/app/layout/components/userbar/userbar.component.spec.ts +++ b/portal-FE-common/src/app/layout/components/userbar/userbar.component.spec.ts @@ -39,6 +39,7 @@ import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { UserbarComponent } from './userbar.component'; +import { HttpClientTestingModule } from '@angular/common/http/testing'; describe('UserbarComponent', () => { let component: UserbarComponent; @@ -46,7 +47,8 @@ describe('UserbarComponent', () => { beforeEach(async(() => { TestBed.configureTestingModule({ - declarations: [ UserbarComponent ] + declarations: [ UserbarComponent ], + imports: [HttpClientTestingModule] }) .compileComponents(); }));