feat(revision): include edits in dto

Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
David Mehren 2022-02-13 19:07:52 +01:00
parent 50c8f39c0c
commit 7050c9f13b
7 changed files with 48 additions and 6 deletions

View file

@ -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,