forked from baron/baron-sso
조직도 표현 개선
This commit is contained in:
@@ -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 ({
|
||||
|
||||
Reference in New Issue
Block a user