mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-14 07:04:45 -04: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,
|
GroupsModule,
|
||||||
TypeOrmModule.forRoot({
|
TypeOrmModule.forRoot({
|
||||||
type: 'sqlite',
|
type: 'sqlite',
|
||||||
database: './hedgedoc-e2e-notes.sqlite',
|
database: './hedgedoc-e2e-private-notes.sqlite',
|
||||||
autoLoadEntities: true,
|
autoLoadEntities: true,
|
||||||
synchronize: true,
|
synchronize: true,
|
||||||
dropSchema: true,
|
dropSchema: true,
|
||||||
|
@ -236,7 +236,7 @@ describe('Notes', () => {
|
||||||
.expect(200);
|
.expect(200);
|
||||||
expect(response.body).toHaveLength(0);
|
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 url0 = await mediaService.saveFile(testImage, 'hardcoded', note.id);
|
||||||
const url1 = await mediaService.saveFile(
|
const url1 = await mediaService.saveFile(
|
||||||
testImage,
|
testImage,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue