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:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user