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.
This commit is contained in:
Marc-André Bombeck committed 2026-07-07 22:00:14 +02:00
1 parent 829345a57b
commit 788996b934
1 file changed
+1 -1
@@ -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;