Skip to content

Commit 7b62b8a

Browse files
committed
test: add third mock organization to CreateOrganizationPageView
1 parent 259e8a3 commit 7b62b8a

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

site/src/testHelpers/entities.ts

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,18 @@ export const MockOrganization2: TypesGen.Organization = {
3939
is_default: false,
4040
};
4141

42+
export const MockOrganization3: TypesGen.Organization = {
43+
id: "my-organization-3-id",
44+
name: "my-organization-3",
45+
display_name: "My Organization 3",
46+
description:
47+
"Yet another organization that will show up in OrganizationPills.",
48+
icon: "/emojis/1f957.png",
49+
created_at: "",
50+
updated_at: "",
51+
is_default: false,
52+
};
53+
4254
export const MockTemplateDAUResponse: TypesGen.DAUsResponse = {
4355
tz_hour_offset: 0,
4456
entries: [
@@ -2926,7 +2938,11 @@ export const MockOrganizationSyncSettings2: TypesGen.OrganizationSyncSettings =
29262938
{
29272939
field: "organization-test",
29282940
mapping: {
2929-
"idp-org-1": ["my-organization-id", "my-organization-2-id"],
2941+
"idp-org-1": [
2942+
"my-organization-id",
2943+
"my-organization-2-id",
2944+
"my-organization-3-id",
2945+
],
29302946
"idp-org-2": ["my-organization-id"],
29312947
},
29322948
organization_assign_default: true,

0 commit comments

Comments
 (0)