diff --git a/packages/server/src/api/routes/tests/viewV2.spec.ts b/packages/server/src/api/routes/tests/viewV2.spec.ts index 65448a5bf3..c4a39ae8a9 100644 --- a/packages/server/src/api/routes/tests/viewV2.spec.ts +++ b/packages/server/src/api/routes/tests/viewV2.spec.ts @@ -462,7 +462,7 @@ describe.each([ } await config.api.viewV2.create(newView, { - status: 200, + status: 201, }) }) }) @@ -792,24 +792,6 @@ describe.each([ ) }) - it("can views with readonly on on free license", async () => { - view = await config.api.viewV2.update({ - ...view, - schema: { - id: { visible: true }, - Price: { - visible: true, - readonly: true, - }, - }, - }) - - mocks.licenses.useCloudFree() - await config.api.viewV2.update(view, { - status: 200, - }) - }) - isInternal && it("updating schema will only validate modified field", async () => { let view = await config.api.viewV2.create({