From 6ddaa59e8c253de74f52b9e5bdd6ac21f862243c Mon Sep 17 00:00:00 2001 From: David Mehren Date: Sun, 9 May 2021 21:34:43 +0200 Subject: [PATCH] Remove superfluous overrideProvider statements Fixes #1254 Signed-off-by: David Mehren --- src/api/private/notes/notes.controller.spec.ts | 2 -- src/media/media.service.spec.ts | 2 -- 2 files changed, 4 deletions(-) diff --git a/src/api/private/notes/notes.controller.spec.ts b/src/api/private/notes/notes.controller.spec.ts index c1a3f8ad4..848c54727 100644 --- a/src/api/private/notes/notes.controller.spec.ts +++ b/src/api/private/notes/notes.controller.spec.ts @@ -70,8 +70,6 @@ describe('NotesController', () => { }) .overrideProvider(getConnectionToken()) .useValue({}) - .overrideProvider(getRepositoryToken(Note)) - .useValue({}) .overrideProvider(getRepositoryToken(Revision)) .useValue({}) .overrideProvider(getRepositoryToken(Authorship)) diff --git a/src/media/media.service.spec.ts b/src/media/media.service.spec.ts index 8664ab8a7..940fc5a86 100644 --- a/src/media/media.service.spec.ts +++ b/src/media/media.service.spec.ts @@ -58,8 +58,6 @@ describe('MediaService', () => { }) .overrideProvider(getRepositoryToken(AuthorColor)) .useValue({}) - .overrideProvider(getRepositoryToken(MediaUpload)) - .useValue({}) .overrideProvider(getRepositoryToken(Authorship)) .useValue({}) .overrideProvider(getRepositoryToken(AuthToken))