From e7d5be97a6d2be3cb6c68ac315a5233ccd4b380a Mon Sep 17 00:00:00 2001 From: Sandor Arpa Date: Thu, 19 Dec 2024 13:02:23 +0000 Subject: [PATCH] PP-13430 unignore pact test Changes on connector are through, we can unignore the relevant pact test. --- .../ledger/pact/event/Requested3dsExemptionQueueConsumerIT.java | 2 -- .../gov/pay/ledger/util/fixture/QueuePaymentEventFixture.java | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/test/java/uk/gov/pay/ledger/pact/event/Requested3dsExemptionQueueConsumerIT.java b/src/test/java/uk/gov/pay/ledger/pact/event/Requested3dsExemptionQueueConsumerIT.java index 1cf3f8f8e..88ec434e3 100644 --- a/src/test/java/uk/gov/pay/ledger/pact/event/Requested3dsExemptionQueueConsumerIT.java +++ b/src/test/java/uk/gov/pay/ledger/pact/event/Requested3dsExemptionQueueConsumerIT.java @@ -5,7 +5,6 @@ import au.com.dius.pact.consumer.junit.PactVerification; import au.com.dius.pact.core.model.annotations.Pact; import au.com.dius.pact.core.model.messaging.MessagePact; -import org.junit.Ignore; import org.junit.Rule; import org.junit.Test; import uk.gov.pay.ledger.app.LedgerConfig; @@ -29,7 +28,6 @@ import static org.mockito.Mockito.mock; import static uk.gov.pay.ledger.util.fixture.QueuePaymentEventFixture.aQueuePaymentEventFixture; -@Ignore public class Requested3dsExemptionQueueConsumerIT { @Rule public MessagePactProviderRule mockProvider = new MessagePactProviderRule(this); diff --git a/src/test/java/uk/gov/pay/ledger/util/fixture/QueuePaymentEventFixture.java b/src/test/java/uk/gov/pay/ledger/util/fixture/QueuePaymentEventFixture.java index b56c87286..598cc967c 100644 --- a/src/test/java/uk/gov/pay/ledger/util/fixture/QueuePaymentEventFixture.java +++ b/src/test/java/uk/gov/pay/ledger/util/fixture/QueuePaymentEventFixture.java @@ -219,7 +219,7 @@ public QueuePaymentEventFixture withDefaultEventDataForEventType(String eventTyp eventData = gsonBuilder.create().toJson(Map.of("email", "test@example.org")); break; case "REQUESTED_3DS_EXEMPTION": - eventData = gsonBuilder.create().toJson(Map.of("type", "OPTIMISED")); + eventData = gsonBuilder.create().toJson(Map.of("exemption_3ds_requested", "OPTIMISED")); break; case "GATEWAY_3DS_EXEMPTION_RESULT_OBTAINED": eventData = gsonBuilder.create().toJson(Map.of("exemption3ds", "HONOURED"));