From 788996b9343e22840916044e905688535377fde2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Bombeck?= Date: Tue, 7 Jul 2026 22:00:14 +0200 Subject: [PATCH] test(share-links): drop the unused owner binding in the ownership guard The foreign-document ownership test only needs owner A's upload to exist; it seeded the user into a discarded local. Call it for its effect instead so lint stays clean. --- tests/integration/share-link-documents.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/share-link-documents.test.ts b/tests/integration/share-link-documents.test.ts index 91492b427..c2dfc0097 100644 --- a/tests/integration/share-link-documents.test.ts +++ b/tests/integration/share-link-documents.test.ts @@ -192,7 +192,7 @@ describe("share-link documents — end-to-end", () => { it("refuses a share create referencing a document the caller does not own", async () => { // Owner A uploads a document. - const _a = await seedVaultUser("share-a"); + await seedVaultUser("share-a"); const { upload, createShare } = await routes(); const up = await upload(uploadRequest(PDF_SMALL, "a.pdf")); const aDocId = (await up.json()).data.id as string;