mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-18 09:04:44 -04:00
feat(revision): include edits in dto
Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
50c8f39c0c
commit
7050c9f13b
7 changed files with 48 additions and 6 deletions
|
@ -25,6 +25,7 @@ import { NoteUserPermission } from '../permissions/note-user-permission.entity';
|
|||
import { Session } from '../users/session.entity';
|
||||
import { User } from '../users/user.entity';
|
||||
import { Edit } from './edit.entity';
|
||||
import { EditService } from './edit.service';
|
||||
import { Revision } from './revision.entity';
|
||||
import { RevisionsService } from './revisions.service';
|
||||
|
||||
|
@ -36,6 +37,7 @@ describe('RevisionsService', () => {
|
|||
const module: TestingModule = await Test.createTestingModule({
|
||||
providers: [
|
||||
RevisionsService,
|
||||
EditService,
|
||||
{
|
||||
provide: getRepositoryToken(Revision),
|
||||
useClass: Repository,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue