From ec482ac262c8a9aef2501f9b679450c0de46501e Mon Sep 17 00:00:00 2001 From: Oswald Quek Date: Thu, 6 Feb 2020 17:17:34 +0000 Subject: [PATCH] bau: Remove unused state Relates to https://github.com/alphagov/pay-publicapi/pull/860 --- .../uk/gov/pay/ledger/pact/ContractTest.java | 21 ------------------- 1 file changed, 21 deletions(-) diff --git a/src/test/java/uk/gov/pay/ledger/pact/ContractTest.java b/src/test/java/uk/gov/pay/ledger/pact/ContractTest.java index d4773b592..4f7c3b760 100644 --- a/src/test/java/uk/gov/pay/ledger/pact/ContractTest.java +++ b/src/test/java/uk/gov/pay/ledger/pact/ContractTest.java @@ -67,27 +67,6 @@ public void aPaymentTransactionExists(Map params) { .insert(app.getJdbi()); } - @State("a transaction with created state exist") - public void createTransactionWithCardDetails(Map params) { - String transactionExternalId = params.get("transaction_external_id"); - String gatewayAccountId = params.get("gateway_account_id"); - - aTransactionFixture() - .withExternalId(transactionExternalId) - .withGatewayAccountId(gatewayAccountId) - .withAmount(1000L) - .withReference("aReference") - .withDescription("Test description") - .withState(TransactionState.CREATED) - .withTransactionType(TransactionType.PAYMENT.name()) - .withReturnUrl("https://example.org") - .withCardBrand(null) - .withDefaultCardDetails() - .withDefaultTransactionDetails() - .withCreatedDate(ZonedDateTime.parse("2018-09-22T10:13:16.067Z")) - .insert(app.getJdbi()); - } - @State("a refund transaction for a transaction exists") public void createRefundTransactionForATransaction(Map params) { String transactionExternalId = params.get("transaction_external_id");