From dbbc73be022543c41807a5fe01726e8b45d86f38 Mon Sep 17 00:00:00 2001 From: Philip Molares Date: Wed, 31 Mar 2021 22:43:13 +0200 Subject: [PATCH] MediaE2E: Fix typo in comments Signed-off-by: Philip Molares --- test/private-api/media.e2e-spec.ts | 2 +- test/public-api/media.e2e-spec.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/private-api/media.e2e-spec.ts b/test/private-api/media.e2e-spec.ts index 7270661aa..c6c6e17ce 100644 --- a/test/private-api/media.e2e-spec.ts +++ b/test/private-api/media.e2e-spec.ts @@ -93,7 +93,7 @@ describe('Media', () => { const testImage = await fs.readFile('test/private-api/fixtures/test.png'); const downloadResponse = await request(app.getHttpServer()).get(path); expect(downloadResponse.body).toEqual(testImage); - // Remove /upload/ from path as we just need the filename. + // Remove /uploads/ from path as we just need the filename. const fileName = path.replace('/uploads/', ''); // delete the file afterwards await fs.unlink(join(uploadPath, fileName)); diff --git a/test/public-api/media.e2e-spec.ts b/test/public-api/media.e2e-spec.ts index d8c3f3b63..9ae4379d8 100644 --- a/test/public-api/media.e2e-spec.ts +++ b/test/public-api/media.e2e-spec.ts @@ -89,7 +89,7 @@ describe('Media', () => { const testImage = await fs.readFile('test/public-api/fixtures/test.png'); const downloadResponse = await request(app.getHttpServer()).get(path); expect(downloadResponse.body).toEqual(testImage); - // Remove /upload/ from path as we just need the filename. + // Remove /uploads/ from path as we just need the filename. const fileName = path.replace('/uploads/', ''); // delete the file afterwards await fs.unlink(join(uploadPath, fileName));