mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-19 17:55:17 -04:00
refactor: replace TypeORM with knex.js
Co-authored-by: Philip Molares <philip.molares@udo.edu> Signed-off-by: Philip Molares <philip.molares@udo.edu> Signed-off-by: Erik Michelson <github@erik.michelson.eu>
This commit is contained in:
parent
6e151c8a1b
commit
c0ce00b3f9
242 changed files with 4601 additions and 6871 deletions
|
@ -187,7 +187,7 @@ describe('Media', () => {
|
|||
// upload a file with the default test user
|
||||
const testNote = await testSetup.notesService.createNote(
|
||||
'test content',
|
||||
await testSetup.userService.getUserByUsername(username2),
|
||||
await testSetup.userService.getUserDtoByUsername(username2),
|
||||
'test_delete_media_note',
|
||||
);
|
||||
const testImage = await fs.readFile('test/private-api/fixtures/test.png');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue