From 9c22bee3246c064f4a9289cc4f0b80a73c551c04 Mon Sep 17 00:00:00 2001 From: Peter Clement Date: Thu, 11 Jan 2024 11:39:04 +0000 Subject: [PATCH] type fix --- packages/server/src/tests/utilities/structures.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/server/src/tests/utilities/structures.ts b/packages/server/src/tests/utilities/structures.ts index ce08011e76..41a555a0d9 100644 --- a/packages/server/src/tests/utilities/structures.ts +++ b/packages/server/src/tests/utilities/structures.ts @@ -21,7 +21,9 @@ import { Table, INTERNAL_TABLE_SOURCE_ID, TableSourceType, + AutomationIOType, } from "@budibase/types" +import { bool } from "joi" const { BUILTIN_ROLE_IDS } = roles @@ -164,7 +166,7 @@ export function basicAutomation(appId?: string): Automation { inputs: { properties: { text: { - type: "string", + type: AutomationIOType.STRING, title: "Text to log", }, }, @@ -183,6 +185,7 @@ export function basicAutomation(appId?: string): Automation { }, }, id: "y8lkZbeSe", + type: AutomationStepType.ACTION, }, ], },