From 1db98f97b2f30a2212776bcfc8ac51d32a09c6f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dafydd=20Ll=C5=B7r=20Pearson?= Date: Thu, 30 Nov 2023 08:56:51 +0000 Subject: [PATCH] fix(e2e): Don't write to restricted flows.data column --- e2e/tests/api-driven/src/permissions/queries/flows.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/e2e/tests/api-driven/src/permissions/queries/flows.ts b/e2e/tests/api-driven/src/permissions/queries/flows.ts index fb2051943c..0b95e32e5e 100644 --- a/e2e/tests/api-driven/src/permissions/queries/flows.ts +++ b/e2e/tests/api-driven/src/permissions/queries/flows.ts @@ -4,7 +4,6 @@ export const INSERT_FLOW_QUERY = gql` mutation InsertFlowE2E($team1Id: Int) { result: insert_flows( objects: { - data: "{hello: 'world'}" slug: "e2e-test-flow" team_id: $team1Id } @@ -20,7 +19,7 @@ export const UPDATE_FLOW_QUERY = gql` mutation UpdateFlowE2E($team1FlowId: uuid!) { result: update_flows_by_pk( pk_columns: { id: $team1FlowId } - _set: { data: "{hello: 'world2'}" } + _set: { slug: "new-slug" } ) { id }