1
0
forked from baron/baron-sso

조직도 표현 개선

This commit is contained in:
2026-05-29 10:33:15 +09:00
parent 6a6730b544
commit c489c7c38f
34 changed files with 1872 additions and 391 deletions

View File

@@ -782,12 +782,10 @@ test.describe("User Management", () => {
tenantSlug: "hanmac-team",
primaryTenantId: "hanmac-team-id",
primaryTenantName: "한맥팀",
primaryTenantIsOwner: true,
metadata: {
primaryTenantId: "hanmac-team-id",
primaryTenantName: "한맥팀",
primaryTenantSlug: "hanmac-team",
primaryTenantIsOwner: true,
additionalAppointments: [
{
tenantId: "03dbe16b-e47b-4f72-927b-782807d67a35",
@@ -797,6 +795,14 @@ test.describe("User Management", () => {
],
},
});
expect(updatePayload?.primaryTenantIsOwner).toBeUndefined();
expect(
(updatePayload?.metadata as Record<string, unknown>)
?.primaryTenantIsOwner,
).toBeUndefined();
const appointments = (updatePayload?.metadata as Record<string, unknown>)
?.additionalAppointments as Array<Record<string, unknown>>;
expect(appointments[1].isOwner).toBeUndefined();
});
test("should show conflict error when creating with an existing Login ID", async ({