paperless-ngx/src-ui/src/app/services/rest/custom-fields.service.spec.ts
Trenton H b863b15ec6
Feature: Implement custom fields for documents (#4502)
Adds custom fields of certain data types, attachable to documents and searchable
2023-11-05 09:34:35 -08:00

15 lines
597 B
TypeScript

import { HttpTestingController } from '@angular/common/http/testing'
import { Subscription } from 'rxjs'
import { TestBed } from '@angular/core/testing'
import { environment } from 'src/environments/environment'
import { commonAbstractPaperlessServiceTests } from './abstract-paperless-service.spec'
import { CustomFieldsService } from './custom-fields.service'
let httpTestingController: HttpTestingController
let service: CustomFieldsService
let subscription: Subscription
const endpoint = 'custom_fields'
// run common tests
commonAbstractPaperlessServiceTests(endpoint, CustomFieldsService)