From 9f746cb05b6ebf293a2f13e1485dde4346d543a8 Mon Sep 17 00:00:00 2001 From: Philip Molares Date: Wed, 31 Mar 2021 22:44:46 +0200 Subject: [PATCH] NotesE2EPrivate: Fix copy&paste error Since large parts of this test were copied from the public api e2e test, somethings still used the public api e2e test files. Signed-off-by: Philip Molares --- test/private-api/notes.e2e-spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/private-api/notes.e2e-spec.ts b/test/private-api/notes.e2e-spec.ts index 1e68c0d30..0b6b8f6f0 100644 --- a/test/private-api/notes.e2e-spec.ts +++ b/test/private-api/notes.e2e-spec.ts @@ -63,7 +63,7 @@ describe('Notes', () => { GroupsModule, TypeOrmModule.forRoot({ type: 'sqlite', - database: './hedgedoc-e2e-notes.sqlite', + database: './hedgedoc-e2e-private-notes.sqlite', autoLoadEntities: true, synchronize: true, dropSchema: true, @@ -236,7 +236,7 @@ describe('Notes', () => { .expect(200); expect(response.body).toHaveLength(0); - const testImage = await fs.readFile('test/public-api/fixtures/test.png'); + const testImage = await fs.readFile('test/private-api/fixtures/test.png'); const url0 = await mediaService.saveFile(testImage, 'hardcoded', note.id); const url1 = await mediaService.saveFile( testImage,