mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-14 07:04:45 -04:00
Switch to using the new custom logger
Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
b256fc8b36
commit
e37722a56a
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 { NotesService } from '../../../notes/notes.service';
|
||||
|
@ -25,7 +26,7 @@ describe('Notes Controller', () => {
|
|||
useValue: {},
|
||||
},
|
||||
],
|
||||
imports: [RevisionsModule, UsersModule],
|
||||
imports: [RevisionsModule, UsersModule, LoggerModule],
|
||||
})
|
||||
.overrideProvider(getRepositoryToken(Note))
|
||||
.useValue({})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue