From f90a9d0456e43622f7e1dd57de497fd123d3fbf9 Mon Sep 17 00:00:00 2001 From: amianthus <49116958+SirTenzin@users.noreply.github.com> Date: Sat, 16 May 2026 15:16:24 +0100 Subject: [PATCH] =?UTF-8?q?fix(test-setup):=20=F0=9F=90=9B=20pass=20org=20?= =?UTF-8?q?name=20when=20bootstrapping=20test=20org=20via=20afterOrgCreate?= =?UTF-8?q?d?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The synthetic insertedOrg passed to afterOrgCreated on the new-org branch carried id/slug/createdAt but not name, so the Stripe Connect account was created with display_name: undefined. Adds TEST_ORG_CONFIG.name to the synthetic payload. --- scripts/setupTestUtils/createTestOrg.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/setupTestUtils/createTestOrg.ts b/scripts/setupTestUtils/createTestOrg.ts index 593e8142a..f718cee82 100644 --- a/scripts/setupTestUtils/createTestOrg.ts +++ b/scripts/setupTestUtils/createTestOrg.ts @@ -149,6 +149,7 @@ export async function createTestOrg({ const insertedOrg = { id: TEST_ORG_CONFIG.id, slug: TEST_ORG_CONFIG.slug, + name: TEST_ORG_CONFIG.name, createdAt: new Date(TEST_ORG_CONFIG.created_at), }; await afterOrgCreated({