mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-12-23 18:42:30 +00:00
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:
parent
17493a9007
commit
9f746cb05b
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue