diff options
Diffstat (limited to 'portal-FE-common/src/app/layout/components/userbar/userbar.component.spec.ts')
-rw-r--r-- | portal-FE-common/src/app/layout/components/userbar/userbar.component.spec.ts | 4 |
1 files changed, 3 insertions, 1 deletions
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(); })); |