Fix tests

This commit is contained in:
Adria Navarro 2024-07-30 18:44:00 +02:00
parent e41f3ada62
commit 48349f9ad0
1 changed files with 3 additions and 7 deletions

View File

@ -19,7 +19,6 @@ import {
ViewV2, ViewV2,
SearchResponse, SearchResponse,
BasicOperator, BasicOperator,
AutoFieldSubType,
} from "@budibase/types" } from "@budibase/types"
import { generator, mocks } from "@budibase/backend-core/tests" import { generator, mocks } from "@budibase/backend-core/tests"
import { DatabaseName, getDatasource } from "../../../integrations/tests/utils" import { DatabaseName, getDatasource } from "../../../integrations/tests/utils"
@ -57,8 +56,7 @@ describe.each([
primary: ["id"], primary: ["id"],
schema: { schema: {
id: { id: {
type: FieldType.AUTO, type: FieldType.NUMBER,
subtype: AutoFieldSubType.AUTO_ID,
name: "id", name: "id",
autocolumn: true, autocolumn: true,
constraints: { constraints: {
@ -243,8 +241,7 @@ describe.each([
schema: { schema: {
id: { id: {
name: "id", name: "id",
type: FieldType.AUTO, type: FieldType.NUMBER,
subtype: AutoFieldSubType.AUTO_ID,
autocolumn: true, autocolumn: true,
visible: true, visible: true,
}, },
@ -1558,8 +1555,7 @@ describe.each([
schema: { schema: {
id: { id: {
name: "id", name: "id",
type: FieldType.AUTO, type: FieldType.NUMBER,
subtype: AutoFieldSubType.AUTO_ID,
autocolumn: true, autocolumn: true,
}, },
name: { name: {