From e46f6b11567c16ec2cd13cf3144e8e2ae1d2914c Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Sun, 7 Apr 2024 11:55:27 -0700 Subject: [PATCH] Fix frontend tests warning --- src-ui/src/app/components/admin/tasks/tasks.component.spec.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src-ui/src/app/components/admin/tasks/tasks.component.spec.ts b/src-ui/src/app/components/admin/tasks/tasks.component.spec.ts index e452aa0d3..2bed5930c 100644 --- a/src-ui/src/app/components/admin/tasks/tasks.component.spec.ts +++ b/src-ui/src/app/components/admin/tasks/tasks.component.spec.ts @@ -29,6 +29,7 @@ import { PageHeaderComponent } from '../../common/page-header/page-header.compon import { TasksComponent } from './tasks.component' import { PermissionsGuard } from 'src/app/guards/permissions.guard' import { NgxBootstrapIconsModule, allIcons } from 'ngx-bootstrap-icons' +import { FormsModule } from '@angular/forms' const tasks: PaperlessTask[] = [ { @@ -140,6 +141,7 @@ describe('TasksComponent', () => { HttpClientTestingModule, RouterTestingModule.withRoutes(routes), NgxBootstrapIconsModule.pick(allIcons), + FormsModule, ], }).compileComponents()