From 71686fb4a0afd6f658f824e087f53ea524852ba7 Mon Sep 17 00:00:00 2001 From: Isaac Au Date: Mon, 6 Jan 2025 07:35:24 +0000 Subject: [PATCH] ATO-1237: add provider state in consumer tests --- .../contract-tests/tests/testClientRegistryContract.spec.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/backend/api/tests/contract-tests/tests/testClientRegistryContract.spec.ts b/backend/api/tests/contract-tests/tests/testClientRegistryContract.spec.ts index acafe6ab1..f0d5f9930 100644 --- a/backend/api/tests/contract-tests/tests/testClientRegistryContract.spec.ts +++ b/backend/api/tests/contract-tests/tests/testClientRegistryContract.spec.ts @@ -59,6 +59,7 @@ describe("ClientRegistryProvider", () => { test("it should return an a client registry object when adding a client", async () => { provider + .given("valid configuration to add a client") .uponReceiving("configuration to add a client") .withRequest({ method: "POST", @@ -108,6 +109,7 @@ describe("ClientRegistryProvider", () => { test("it should return an a client registry object when updating a client", async () => { provider + .given("testClientIdExampleText1234 is a valid clientId") .uponReceiving("configuration to update a client") .withRequest({ method: "PUT",