1
0
Fork 0
mirror of synced 2024-08-05 05:11:43 +12:00

test case is only for internal.

This commit is contained in:
mike12345567 2024-06-20 18:53:01 +01:00
parent ae68c561f4
commit fead1f436a

View file

@ -276,11 +276,15 @@ describe.each([
}) })
}) })
isInternal &&
it("shouldn't allow duplicate column names", async () => { it("shouldn't allow duplicate column names", async () => {
const saveTableRequest: SaveTableRequest = { const saveTableRequest: SaveTableRequest = {
...basicTable(), ...basicTable(),
} }
saveTableRequest.schema["Type"] = { type: FieldType.STRING, name: "Type" } saveTableRequest.schema["Type"] = {
type: FieldType.STRING,
name: "Type",
}
await config.api.table.save(saveTableRequest, { await config.api.table.save(saveTableRequest, {
status: 400, status: 400,
body: { body: {