]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commitdiff
Fix frontend tests warning
authorshamoon <4887959+shamoon@users.noreply.github.com>
Sun, 7 Apr 2024 18:55:27 +0000 (11:55 -0700)
committershamoon <4887959+shamoon@users.noreply.github.com>
Sun, 7 Apr 2024 18:55:27 +0000 (11:55 -0700)
src-ui/src/app/components/admin/tasks/tasks.component.spec.ts

index e452aa0d3cca91633a8ae558e0d540a0f8a6fe35..2bed5930cb6cdbf6cb812199c925ff8df9348a65 100644 (file)
@@ -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()