diff --git a/packages/server/src/api/routes/tests/permissions.spec.ts b/packages/server/src/api/routes/tests/permissions.spec.ts index 36b27cd87d..129bc00b44 100644 --- a/packages/server/src/api/routes/tests/permissions.spec.ts +++ b/packages/server/src/api/routes/tests/permissions.spec.ts @@ -278,7 +278,12 @@ describe("/permission", () => { const res = await config.api.permission.get(legacyView.name) expect(res.body).toEqual({ - read: "BASIC", + permissions: { + read: { + permissionType: "BASE", + role: "BASIC", + }, + }, }) }) })