1
0
Fork 0
mirror of synced 2024-09-24 21:31:17 +12:00

Update more tests

This commit is contained in:
Andrew Kingston 2024-09-18 12:35:05 +01:00
parent c8c4248b3c
commit fd9a2f87d1
No known key found for this signature in database

View file

@ -432,7 +432,7 @@ describe.each([
}) })
}) })
it("readonly fields cannot be used on free license", async () => { it("readonly fields can be used on free license", async () => {
mocks.licenses.useCloudFree() mocks.licenses.useCloudFree()
const table = await config.api.table.save( const table = await config.api.table.save(
saveTableRequest({ saveTableRequest({
@ -462,11 +462,7 @@ describe.each([
} }
await config.api.viewV2.create(newView, { await config.api.viewV2.create(newView, {
status: 400, status: 200,
body: {
message: "Readonly fields are not enabled",
status: 400,
},
}) })
}) })
}) })