From fa68619770349a2fa822569110b0894ed48e9ae5 Mon Sep 17 00:00:00 2001 From: Stuart Ferguson Date: Tue, 10 Jan 2023 09:32:03 +0000 Subject: [PATCH] Fix to test failure --- .../Features/SaleTransactionFeature.feature | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/TransactionProcessor.IntegrationTests/Features/SaleTransactionFeature.feature b/TransactionProcessor.IntegrationTests/Features/SaleTransactionFeature.feature index 7ae41b7b..57aa50eb 100644 --- a/TransactionProcessor.IntegrationTests/Features/SaleTransactionFeature.feature +++ b/TransactionProcessor.IntegrationTests/Features/SaleTransactionFeature.feature @@ -238,17 +238,14 @@ Scenario: Sale Transaction with Invalid Product Id Then transaction response should contain the following information | EstateName | MerchantName | TransactionNumber | ResponseCode | ResponseMessage | - | Test Estate 1 | Test Merchant 1 | 1 | 1015 | Product Id [934d8164-f36a-448e-b27b-4d671d41d180] not valid for Merchant [Test Merchant 1] | - - + | Test Estate 1 | Test Merchant 1 | 1 | 1016 | Product Id [934d8164-f36a-448e-b27b-4d671d41d180] not valid for Merchant [Test Merchant 1] | Scenario: Sale Transaction with Not Enough Credit Available When I perform the following transactions | DateTime | TransactionNumber | TransactionType | TransactionSource | MerchantName | DeviceIdentifier | EstateName | OperatorName | TransactionAmount | CustomerAccountNumber | CustomerEmailAddress | ContractDescription | ProductName | | Today | 1 | Sale | 1 | Test Merchant 1 | 123456780 | Test Estate 1 | Safaricom | 300.00 | 123456789 | testcustomer@customer.co.uk | Safaricom Contract | Variable Topup | - - + Then transaction response should contain the following information | EstateName | MerchantName | TransactionNumber | ResponseCode | ResponseMessage | | Test Estate 1 | Test Merchant 1 | 1 | 1009 | Merchant [Test Merchant 1] does not have enough credit available [240.00] to perform transaction amount [300.00] |