test: remove most of the boilerplate tests

This commit is contained in:
Frank Strieter
2022-03-22 14:50:00 +01:00
parent b8c3d4042b
commit 4377d15599
61 changed files with 19 additions and 1293 deletions

View File

@@ -1,16 +0,0 @@
import { TestBed } from '@angular/core/testing'
import { ConsumerStatusService } from './consumer-status.service'
describe('ConsumerStatusService', () => {
let service: ConsumerStatusService
beforeEach(() => {
TestBed.configureTestingModule({})
service = TestBed.inject(ConsumerStatusService)
})
it('should be created', () => {
expect(service).toBeTruthy()
})
})

View File

@@ -1,16 +0,0 @@
import { TestBed } from '@angular/core/testing'
import { DocumentListViewService } from './document-list-view.service'
describe('DocumentListViewService', () => {
let service: DocumentListViewService
beforeEach(() => {
TestBed.configureTestingModule({})
service = TestBed.inject(DocumentListViewService)
})
it('should be created', () => {
expect(service).toBeTruthy()
})
})

View File

@@ -1,16 +0,0 @@
import { TestBed } from '@angular/core/testing'
import { OpenDocumentsService } from './open-documents.service'
describe('OpenDocumentsService', () => {
let service: OpenDocumentsService
beforeEach(() => {
TestBed.configureTestingModule({})
service = TestBed.inject(OpenDocumentsService)
})
it('should be created', () => {
expect(service).toBeTruthy()
})
})

View File

@@ -1,7 +0,0 @@
import { AbstractPaperlessService } from './abstract-paperless-service'
describe('AbstractPaperlessService', () => {
it('should create an instance', () => {
expect(new AbstractPaperlessService()).toBeTruthy()
})
})

View File

@@ -1,16 +0,0 @@
import { TestBed } from '@angular/core/testing'
import { CorrespondentService } from './correspondent.service'
describe('CorrespondentService', () => {
let service: CorrespondentService
beforeEach(() => {
TestBed.configureTestingModule({})
service = TestBed.inject(CorrespondentService)
})
it('should be created', () => {
expect(service).toBeTruthy()
})
})

View File

@@ -1,16 +0,0 @@
import { TestBed } from '@angular/core/testing'
import { DocumentTypeService } from './document-type.service'
describe('DocumentTypeService', () => {
let service: DocumentTypeService
beforeEach(() => {
TestBed.configureTestingModule({})
service = TestBed.inject(DocumentTypeService)
})
it('should be created', () => {
expect(service).toBeTruthy()
})
})

View File

@@ -1,16 +0,0 @@
import { TestBed } from '@angular/core/testing'
import { DocumentService } from './document.service'
describe('DocumentService', () => {
let service: DocumentService
beforeEach(() => {
TestBed.configureTestingModule({})
service = TestBed.inject(DocumentService)
})
it('should be created', () => {
expect(service).toBeTruthy()
})
})

View File

@@ -1,16 +0,0 @@
import { TestBed } from '@angular/core/testing'
import { LogService } from './log.service'
describe('LogService', () => {
let service: LogService
beforeEach(() => {
TestBed.configureTestingModule({})
service = TestBed.inject(LogService)
})
it('should be created', () => {
expect(service).toBeTruthy()
})
})

View File

@@ -1,16 +0,0 @@
import { TestBed } from '@angular/core/testing'
import { SavedViewService } from './saved-view.service'
describe('SavedViewService', () => {
let service: SavedViewService
beforeEach(() => {
TestBed.configureTestingModule({})
service = TestBed.inject(SavedViewService)
})
it('should be created', () => {
expect(service).toBeTruthy()
})
})

View File

@@ -1,16 +0,0 @@
import { TestBed } from '@angular/core/testing'
import { SearchService } from './search.service'
describe('SearchService', () => {
let service: SearchService
beforeEach(() => {
TestBed.configureTestingModule({})
service = TestBed.inject(SearchService)
})
it('should be created', () => {
expect(service).toBeTruthy()
})
})

View File

@@ -1,16 +0,0 @@
import { TestBed } from '@angular/core/testing'
import { TagService } from './tag.service'
describe('TagService', () => {
let service: TagService
beforeEach(() => {
TestBed.configureTestingModule({})
service = TestBed.inject(TagService)
})
it('should be created', () => {
expect(service).toBeTruthy()
})
})

View File

@@ -1,16 +0,0 @@
import { TestBed } from '@angular/core/testing'
import { SettingsService } from './settings.service'
describe('SettingsService', () => {
let service: SettingsService
beforeEach(() => {
TestBed.configureTestingModule({})
service = TestBed.inject(SettingsService)
})
it('should be created', () => {
expect(service).toBeTruthy()
})
})

View File

@@ -1,16 +0,0 @@
import { TestBed } from '@angular/core/testing'
import { ToastService } from './toast.service'
describe('ToastService', () => {
let service: ToastService
beforeEach(() => {
TestBed.configureTestingModule({})
service = TestBed.inject(ToastService)
})
it('should be created', () => {
expect(service).toBeTruthy()
})
})