mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-06-02 16:09:59 -04:00
Remove AuthorColor entity
It will be replaced with the Author entity, that will save the color Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
0d6c300254
commit
81cc092e51
17 changed files with 7 additions and 98 deletions
|
@ -9,7 +9,6 @@ import { Test, TestingModule } from '@nestjs/testing';
|
|||
import { getRepositoryToken } from '@nestjs/typeorm';
|
||||
import mediaConfigMock from '../config/mock/media.config.mock';
|
||||
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';
|
||||
import { Tag } from '../notes/tag.entity';
|
||||
|
@ -56,8 +55,6 @@ describe('MediaService', () => {
|
|||
UsersModule,
|
||||
],
|
||||
})
|
||||
.overrideProvider(getRepositoryToken(AuthorColor))
|
||||
.useValue({})
|
||||
.overrideProvider(getRepositoryToken(Authorship))
|
||||
.useValue({})
|
||||
.overrideProvider(getRepositoryToken(AuthToken))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue