mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-14 15:14:56 -04:00
Config: Add forbiddenNoteIds to AppConfig
Signed-off-by: Philip Molares <philip.molares@udo.edu>
This commit is contained in:
parent
2a83c9b2ac
commit
966f5ee2fe
16 changed files with 88 additions and 10 deletions
|
@ -31,6 +31,7 @@ import { UsersModule } from '../../src/users/users.module';
|
|||
import { HistoryModule } from '../../src/history/history.module';
|
||||
import { ConfigModule } from '@nestjs/config';
|
||||
import mediaConfigMock from '../../src/config/media.config.mock';
|
||||
import appConfigMock from '../../src/config/app.config.mock';
|
||||
import { User } from '../../src/users/user.entity';
|
||||
|
||||
// TODO Tests have to be reworked using UserService functions
|
||||
|
@ -47,7 +48,7 @@ describe('Notes', () => {
|
|||
imports: [
|
||||
ConfigModule.forRoot({
|
||||
isGlobal: true,
|
||||
load: [mediaConfigMock],
|
||||
load: [mediaConfigMock, appConfigMock],
|
||||
}),
|
||||
PublicApiModule,
|
||||
NotesModule,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue