mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-06-04 08:49:59 -04:00
tests: Removed unnecessary import of appConfigMock
As suggested by an review of David Mehren Co-authored by: David Mehren <git@herrmehren.de> Signed-off-by: Philip Molares <philip.molares@udo.edu>
This commit is contained in:
parent
2c4098dc55
commit
9c3d329bc9
3 changed files with 4 additions and 7 deletions
|
@ -7,7 +7,6 @@
|
|||
import { ConfigModule } from '@nestjs/config';
|
||||
import { Test, TestingModule } from '@nestjs/testing';
|
||||
import { getRepositoryToken } from '@nestjs/typeorm';
|
||||
import appConfigMock from '../config/app.config.mock';
|
||||
import mediaConfigMock from '../config/media.config.mock';
|
||||
import { LoggerModule } from '../logger/logger.module';
|
||||
import { AuthorColor } from '../notes/author-color.entity';
|
||||
|
@ -40,7 +39,7 @@ describe('MediaService', () => {
|
|||
imports: [
|
||||
ConfigModule.forRoot({
|
||||
isGlobal: true,
|
||||
load: [appConfigMock, mediaConfigMock],
|
||||
load: [mediaConfigMock],
|
||||
}),
|
||||
LoggerModule,
|
||||
NotesModule,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue