refactor: use integer primary keys

Closes #1292

Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
David Mehren 2022-09-18 20:26:42 +02:00 committed by Yannick Bungers
parent 499f632d8d
commit 2c1e0517ff
17 changed files with 42 additions and 42 deletions

View file

@ -186,7 +186,7 @@ describe('Websocket gateway', () => {
}
});
const mockedNote = Mock.of<Note>({ id: 'mocknote' });
const mockedNote = Mock.of<Note>({ id: 4711 });
jest
.spyOn(notesService, 'getNoteByIdOrAlias')
.mockImplementation((noteId: string) =>