From 69ddeb121096eb9f0fade2665109a2dcd1284b5e Mon Sep 17 00:00:00 2001 From: hongwei Date: Thu, 23 Jan 2025 19:08:58 +0800 Subject: [PATCH] feature/added confirm-vrp-consent pages - fixed tests --- .../test/scala/code/api/v5_1_0/VRPConsentRequestTest.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/obp-api/src/test/scala/code/api/v5_1_0/VRPConsentRequestTest.scala b/obp-api/src/test/scala/code/api/v5_1_0/VRPConsentRequestTest.scala index d3b221007..da0234898 100644 --- a/obp-api/src/test/scala/code/api/v5_1_0/VRPConsentRequestTest.scala +++ b/obp-api/src/test/scala/code/api/v5_1_0/VRPConsentRequestTest.scala @@ -199,7 +199,7 @@ class VRPConsentRequestTest extends V510ServerSetup with PropsReset{ val getConsentByRequestResponse = makeGetRequest(getConsentByRequestIdUrl(consentRequestId)) Then("We should get a 200") getConsentByRequestResponse.code should equal(200) - val getConsentByRequestResponseJson = getConsentByRequestResponse.body.extract[ConsentJsonV510] + val getConsentByRequestResponseJson = getConsentByRequestResponse.body.extract[ConsentJsonV500] getConsentByRequestResponseJson.consent_request_id.head should be(consentRequestId) getConsentByRequestResponseJson.status should be(ConsentStatus.ACCEPTED.toString) @@ -280,7 +280,7 @@ class VRPConsentRequestTest extends V510ServerSetup with PropsReset{ val getConsentByRequestResponse = makeGetRequest(getConsentByRequestIdUrl(consentRequestId)) Then("We should get a 200") getConsentByRequestResponse.code should equal(200) - val getConsentByRequestResponseJson = getConsentByRequestResponse.body.extract[ConsentJsonV510] + val getConsentByRequestResponseJson = getConsentByRequestResponse.body.extract[ConsentJsonV500] getConsentByRequestResponseJson.consent_request_id.head should be(consentRequestId) getConsentByRequestResponseJson.status should be(ConsentStatus.ACCEPTED.toString) }