From df177c73d2eb3cbea48969e493e7ae3b1d7352c9 Mon Sep 17 00:00:00 2001 From: Jessica McInchak Date: Fri, 1 Dec 2023 16:55:21 +0100 Subject: [PATCH] update introspection test too --- hasura.planx.uk/tests/payment_status.test.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hasura.planx.uk/tests/payment_status.test.js b/hasura.planx.uk/tests/payment_status.test.js index db1ff42490..6bcc81d3a0 100644 --- a/hasura.planx.uk/tests/payment_status.test.js +++ b/hasura.planx.uk/tests/payment_status.test.js @@ -73,9 +73,9 @@ describe("payment_status", () => { i = await introspectAs("api"); }); - test("cannot query payment_status", () => { - expect(i.queries).not.toContain("payment_status"); - }) + test("can query payment_status", () => { + expect(i.queries).toContain("payment_status"); + }); test("can insert payment_status", () => { expect(i.mutations).toContain("insert_payment_status");