fix(test-setup): 🐛 pass org name when bootstrapping test org via afterOrgCreated

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.
This commit is contained in:
amianthus
2026-05-16 15:16:24 +01:00
parent fe222b9945
commit f90a9d0456

View File

@@ -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({