mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-14 15:14:56 -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
072ef223e0
commit
4372106ef0
3 changed files with 4 additions and 7 deletions
|
@ -10,7 +10,6 @@ import { Test } from '@nestjs/testing';
|
|||
import { TypeOrmModule } from '@nestjs/typeorm';
|
||||
import * as request from 'supertest';
|
||||
import { PublicApiModule } from '../../src/api/public/public-api.module';
|
||||
import appConfigMock from '../../src/config/app.config.mock';
|
||||
import mediaConfigMock from '../../src/config/media.config.mock';
|
||||
import { NotInDBError } from '../../src/errors/errors';
|
||||
import { GroupsModule } from '../../src/groups/groups.module';
|
||||
|
@ -28,7 +27,7 @@ describe('Notes', () => {
|
|||
imports: [
|
||||
ConfigModule.forRoot({
|
||||
isGlobal: true,
|
||||
load: [appConfigMock, mediaConfigMock],
|
||||
load: [mediaConfigMock],
|
||||
}),
|
||||
PublicApiModule,
|
||||
NotesModule,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue