From 76bec5cfb0278d66eb510e920e13bf7694d05a3e Mon Sep 17 00:00:00 2001 From: Richard Pentecost Date: Thu, 21 Jul 2022 11:17:30 +0100 Subject: [PATCH] add adminUsersService to admin account view test file --- .../admin-account-view/admin-account-view.component.spec.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/app/features/admin/admin-users/admin-account-view/admin-account-view.component.spec.ts b/src/app/features/admin/admin-users/admin-account-view/admin-account-view.component.spec.ts index 7a0de8eda0..cbb00d4374 100644 --- a/src/app/features/admin/admin-users/admin-account-view/admin-account-view.component.spec.ts +++ b/src/app/features/admin/admin-users/admin-account-view/admin-account-view.component.spec.ts @@ -14,6 +14,7 @@ import { WindowRef } from '@core/services/window.ref'; import { AdminManagerUser, AdminUser, + MockAdminUsersService, PendingAdminManager, PendingAdminUser, } from '@core/test-utils/admin/MockAdminUsersService'; @@ -60,6 +61,10 @@ describe('AdminAccountViewComponent', () => { provide: BreadcrumbService, useClass: MockBreadcrumbService, }, + { + provide: AdminUsersService, + useClass: MockAdminUsersService, + }, { provide: ActivatedRoute, useValue: {