forked from baron/baron-sso
chore: consolidate local integration changes
This commit is contained in:
@@ -65,6 +65,7 @@ describe("orgfront adminApi user tenant payloads", () => {
|
||||
await adminApi.fetchRelyingParty("client-1");
|
||||
await adminApi.fetchRPOwners("client-1");
|
||||
await adminApi.fetchPublicOrgChart("public-token");
|
||||
await adminApi.fetchOrgChartSnapshot();
|
||||
|
||||
expect(apiClient.get).toHaveBeenCalledWith("/v1/audit", {
|
||||
params: { limit: 10, cursor: "cursor-a" },
|
||||
@@ -90,6 +91,9 @@ describe("orgfront adminApi user tenant payloads", () => {
|
||||
expect(apiClient.get).toHaveBeenCalledWith("/v1/public/orgchart", {
|
||||
params: { token: "public-token" },
|
||||
});
|
||||
expect(apiClient.get).toHaveBeenCalledWith("/v1/admin/orgchart/snapshot", {
|
||||
params: { cache: "redis" },
|
||||
});
|
||||
});
|
||||
|
||||
it("routes mutation APIs to their documented orgfront admin endpoints", async () => {
|
||||
|
||||
Reference in New Issue
Block a user