diff --git a/tests/integration/intake-submit-public.test.ts b/tests/integration/intake-submit-public.test.ts index 122374a..9a926a3 100644 --- a/tests/integration/intake-submit-public.test.ts +++ b/tests/integration/intake-submit-public.test.ts @@ -63,11 +63,15 @@ beforeAll(async () => { }); anotherProjectId = another.id; - anotherInboxId = ( - await admin - .collection("columns") - .getFirstListItem(`project = "${anotherProjectId}" && is_inbox = true`) - ).id; + // The schema doesn't auto-create an Inbox column for new projects; the test + // owns the fixture it relies on. + const anotherColumn = await admin.collection("columns").create({ + project: anotherProjectId, + name: "Inbox", + position: 1000, + is_inbox: true, + }); + anotherInboxId = anotherColumn.id; }); afterAll(async () => {