mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-19 17:55:17 -04:00
Switch to using the new custom logger
Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
1a2959f6dc
commit
d7f407da2d
24 changed files with 83 additions and 34 deletions
|
@ -1,5 +1,6 @@
|
|||
import { Test, TestingModule } from '@nestjs/testing';
|
||||
import { getRepositoryToken } from '@nestjs/typeorm';
|
||||
import { LoggerModule } from '../logger/logger.module';
|
||||
import { AuthorColor } from '../notes/author-color.entity';
|
||||
import { Note } from '../notes/note.entity';
|
||||
import { NotesModule } from '../notes/notes.module';
|
||||
|
@ -22,7 +23,7 @@ describe('RevisionsService', () => {
|
|||
useValue: {},
|
||||
},
|
||||
],
|
||||
imports: [NotesModule],
|
||||
imports: [NotesModule, LoggerModule],
|
||||
})
|
||||
.overrideProvider(getRepositoryToken(Authorship))
|
||||
.useValue({})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue