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 <philip.molares@udo.edu>
This commit is contained in:
Philip Molares 2021-03-31 22:44:46 +02:00 committed by David Mehren
parent 17493a9007
commit 9f746cb05b
No known key found for this signature in database
GPG key ID: 185982BA4C42B7C3

View file

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