]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commitdiff
Fix: resolve test warning
authorshamoon <4887959+shamoon@users.noreply.github.com>
Thu, 19 Dec 2024 16:05:06 +0000 (08:05 -0800)
committershamoon <4887959+shamoon@users.noreply.github.com>
Thu, 19 Dec 2024 16:05:06 +0000 (08:05 -0800)
src-ui/src/app/components/admin/logs/logs.component.spec.ts

index 07a5d85d2d8c8fbe0f3f8f3f6078166c48d8d132..2c17e2e82027e81faca1436fc103bf7f11c1abd0 100644 (file)
@@ -1,6 +1,7 @@
 import { provideHttpClient, withInterceptorsFromDi } from '@angular/common/http'
 import { provideHttpClientTesting } from '@angular/common/http/testing'
 import { ComponentFixture, TestBed } from '@angular/core/testing'
+import { FormsModule, ReactiveFormsModule } from '@angular/forms'
 import { BrowserModule, By } from '@angular/platform-browser'
 import { NgbModule, NgbNavLink } from '@ng-bootstrap/ng-bootstrap'
 import { NgxBootstrapIconsModule, allIcons } from 'ngx-bootstrap-icons'
@@ -37,6 +38,8 @@ describe('LogsComponent', () => {
         BrowserModule,
         NgbModule,
         NgxBootstrapIconsModule.pick(allIcons),
+        FormsModule,
+        ReactiveFormsModule,
       ],
       providers: [
         provideHttpClient(withInterceptorsFromDi()),