From 8ed2d62a81f1c83cd2205e4fb5cc847382224d06 Mon Sep 17 00:00:00 2001 From: llara Date: Mon, 17 Feb 2025 15:06:38 +0100 Subject: [PATCH] Add MatCheckboxModule to ManageOrganizationalUnitComponent tests --- .../manage-organizational-unit.component.spec.ts | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/ogWebconsole/src/app/components/groups/shared/organizational-units/manage-organizational-unit/manage-organizational-unit.component.spec.ts b/ogWebconsole/src/app/components/groups/shared/organizational-units/manage-organizational-unit/manage-organizational-unit.component.spec.ts index 32b24e0..53a8360 100644 --- a/ogWebconsole/src/app/components/groups/shared/organizational-units/manage-organizational-unit/manage-organizational-unit.component.spec.ts +++ b/ogWebconsole/src/app/components/groups/shared/organizational-units/manage-organizational-unit/manage-organizational-unit.component.spec.ts @@ -2,14 +2,15 @@ import { ComponentFixture, TestBed } from '@angular/core/testing'; import { ManageOrganizationalUnitComponent } from './manage-organizational-unit.component'; import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog'; import { HttpClientTestingModule } from '@angular/common/http/testing'; -import {FormsModule, ReactiveFormsModule} from '@angular/forms'; +import { ReactiveFormsModule } from '@angular/forms'; import { ToastrModule } from 'ngx-toastr'; import { MatFormFieldModule } from '@angular/material/form-field'; import { MatInputModule } from '@angular/material/input'; import { MatSelectModule } from '@angular/material/select'; import { MatSlideToggleModule } from '@angular/material/slide-toggle'; +import { MatCheckboxModule } from '@angular/material/checkbox'; import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; -import {TranslateModule} from "@ngx-translate/core"; +import { TranslateModule } from '@ngx-translate/core'; describe('ManageOrganizationalUnitComponent', () => { let component: ManageOrganizationalUnitComponent; @@ -26,6 +27,7 @@ describe('ManageOrganizationalUnitComponent', () => { MatInputModule, MatSelectModule, MatSlideToggleModule, + MatCheckboxModule, TranslateModule.forRoot(), BrowserAnimationsModule ], @@ -44,4 +46,4 @@ describe('ManageOrganizationalUnitComponent', () => { it('should create', () => { expect(component).toBeTruthy(); }); -}); +}); \ No newline at end of file