Skip to content

Commit

Permalink
fixup! Find versions based on filename instead of s3key
Browse files Browse the repository at this point in the history
  • Loading branch information
tukiains committed Nov 25, 2024
1 parent c1d4f6f commit 236a76a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/tests/integration/sequential/file.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -744,8 +744,8 @@ describe("DELETE /api/files/", () => {
await expect(deleteFile(file2.uuid, false, false, "Blah")).resolves.toMatchObject({ status: 200 });
await expect(fileRepo.findOneBy({ uuid: file1.uuid })).resolves.toBeTruthy();
await expect(fileRepo.findOneBy({ uuid: file2.uuid })).resolves.toBeTruthy();
expect(await searchFileRepo.existsBy({ uuid: file2.uuid })).toBeFalsy();
expect(await searchFileRepo.existsBy({ uuid: file1.uuid })).toBeTruthy();
expect(await searchFileRepo.existsBy({ uuid: file2.uuid })).toBeFalsy();
});

it("test returning to a legacy file in delete", async () => {
Expand Down

0 comments on commit 236a76a

Please sign in to comment.