Skip to content

Commit 9cf283b

Browse files
authored
Merge pull request #982 from alphagov/pp_6989_map_cancel_by_external_service_failed
PP-6989 Map `cancel by external service failed` salient event to transaction state
2 parents 8c58d47 + e05b80b commit 9cf283b

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

src/main/java/uk/gov/pay/ledger/transaction/state/TransactionState.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ public String getMessage() {
103103
Map.entry(SalientEventType.CANCEL_BY_EXPIRATION_FAILED, FAILED_EXPIRED),
104104
Map.entry(SalientEventType.CANCELLED_BY_EXPIRATION, FAILED_EXPIRED),
105105
Map.entry(SalientEventType.CANCEL_BY_EXTERNAL_SERVICE_SUBMITTED, CANCELLED),
106+
Map.entry(SalientEventType.CANCEL_BY_EXTERNAL_SERVICE_FAILED, CANCELLED),
106107
Map.entry(SalientEventType.CANCELLED_BY_EXTERNAL_SERVICE, CANCELLED),
107108
Map.entry(SalientEventType.CANCEL_BY_USER_SUBMITTED, FAILED_CANCELLED),
108109
Map.entry(SalientEventType.CANCEL_BY_USER_FAILED, FAILED_CANCELLED),

src/test/java/uk/gov/pay/ledger/report/resource/PerformanceReportResourceIT.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525

2626
public class PerformanceReportResourceIT {
2727

28+
@RegisterExtension
2829
public static AppWithPostgresAndSqsExtension rule = new AppWithPostgresAndSqsExtension();
2930

3031
private Integer port = rule.getAppRule().getLocalPort();

0 commit comments

Comments
 (0)