From 6137d889e233fdbaab31640fbb4d1dd5c6b7a28b 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 | 8 ++------ 1 file changed, 2 insertions(+), 6 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..9db7a43379 100644 --- a/e2e/tests/api-driven/src/permissions/queries/flows.ts +++ b/e2e/tests/api-driven/src/permissions/queries/flows.ts @@ -3,11 +3,7 @@ import { gql } from "graphql-tag"; export const INSERT_FLOW_QUERY = gql` mutation InsertFlowE2E($team1Id: Int) { result: insert_flows( - objects: { - data: "{hello: 'world'}" - slug: "e2e-test-flow" - team_id: $team1Id - } + objects: { slug: "e2e-test-flow", team_id: $team1Id } ) { returning { id @@ -20,7 +16,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 }