From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Sun, 7 Apr 2024 18:55:27 +0000 (-0700) Subject: Fix frontend tests warning X-Git-Tag: v2.7.2~1^2~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e46f6b11567c16ec2cd13cf3144e8e2ae1d2914c;p=thirdparty%2Fpaperless-ngx.git Fix frontend tests warning --- 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 e452aa0d3c..2bed5930cb 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()