From f24a4141b322b0d3e7a1938d7790d84281b695eb Mon Sep 17 00:00:00 2001 From: giomella Date: Wed, 18 Dec 2024 17:05:07 +0100 Subject: [PATCH] fix --- integration-test/src/step_definitions/gps-mbs-service_steps.js | 2 +- .../pagopa/mbd/gps/service/controller/MbdGpsControllerTest.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/integration-test/src/step_definitions/gps-mbs-service_steps.js b/integration-test/src/step_definitions/gps-mbs-service_steps.js index b397c62..b626268 100644 --- a/integration-test/src/step_definitions/gps-mbs-service_steps.js +++ b/integration-test/src/step_definitions/gps-mbs-service_steps.js @@ -38,7 +38,7 @@ Then('the response body has the expected values', function () { assert.strictEqual(responseToCheck.data.paymentOption[0].transfer[0].amount, body.properties.amount); assert.strictEqual(responseToCheck.data.paymentOption[0].transfer[0].remittanceInformation, transferRemittanceInformation); assert.strictEqual(responseToCheck.data.paymentOption[0].transfer[0].stamp.hashDocument, body.properties.documentHash); - assert.strictEqual(responseToCheck.data.paymentOption[0].transfer[0].stamp.stampType, "st"); + assert.strictEqual(responseToCheck.data.paymentOption[0].transfer[0].stamp.stampType, "01"); assert.strictEqual(responseToCheck.data.paymentOption[0].transfer[0].stamp.provincialResidence, body.properties.debtorProvince); }); diff --git a/src/test/java/it/gov/pagopa/mbd/gps/service/controller/MbdGpsControllerTest.java b/src/test/java/it/gov/pagopa/mbd/gps/service/controller/MbdGpsControllerTest.java index 4828e13..195bea9 100644 --- a/src/test/java/it/gov/pagopa/mbd/gps/service/controller/MbdGpsControllerTest.java +++ b/src/test/java/it/gov/pagopa/mbd/gps/service/controller/MbdGpsControllerTest.java @@ -72,7 +72,7 @@ void buildMbdPaymentOptionTestSuccess() throws Exception { assertEquals( request.getProperties().getDebtorProvince(), transfer.getStamp().getProvincialResidence()); assertEquals(request.getProperties().getDocumentHash(), transfer.getStamp().getHashDocument()); - assertEquals("st", transfer.getStamp().getStampType()); + assertEquals("01", transfer.getStamp().getStampType()); } @Test