Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

Fix: resolve test warning

shamoon20b7ff9f9f4a
diff --git a/src-ui/src/app/components/admin/logs/logs.component.spec.ts b/src-ui/src/app/components/admin/logs/logs.component.spec.ts
index 07a5d85d2..2c17e2e82 100644
--- a/src-ui/src/app/components/admin/logs/logs.component.spec.ts
+++ b/src-ui/src/app/components/admin/logs/logs.component.spec.ts
@@ -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()),