From 3043b43b66cef71e980e2601b45bc9d3f6ee79bd Mon Sep 17 00:00:00 2001 From: Callum Young <148960132+callum-r-young@users.noreply.github.com> Date: Tue, 10 Sep 2024 08:49:15 +0100 Subject: [PATCH] Updated electronic police check report header (#759) --- .../moj/report/standard/ElectronicPoliceCheckReportITest.java | 2 +- src/main/java/uk/gov/hmcts/juror/api/moj/report/DataType.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/integration-test/java/uk/gov/hmcts/juror/api/moj/report/standard/ElectronicPoliceCheckReportITest.java b/src/integration-test/java/uk/gov/hmcts/juror/api/moj/report/standard/ElectronicPoliceCheckReportITest.java index 9df528cd6..de3a3e70a 100644 --- a/src/integration-test/java/uk/gov/hmcts/juror/api/moj/report/standard/ElectronicPoliceCheckReportITest.java +++ b/src/integration-test/java/uk/gov/hmcts/juror/api/moj/report/standard/ElectronicPoliceCheckReportITest.java @@ -147,7 +147,7 @@ private StandardReportResponse buildResponse(String fromDate, String toDate, Sta .build(), StandardReportResponse.TableData.Heading.builder() .id("police_check_timed_out") - .name("Checks completed") + .name("Checks timed out") .dataType("Long") .headings(null) .build(), diff --git a/src/main/java/uk/gov/hmcts/juror/api/moj/report/DataType.java b/src/main/java/uk/gov/hmcts/juror/api/moj/report/DataType.java index d26d8db72..d707871e8 100644 --- a/src/main/java/uk/gov/hmcts/juror/api/moj/report/DataType.java +++ b/src/main/java/uk/gov/hmcts/juror/api/moj/report/DataType.java @@ -275,7 +275,7 @@ public enum DataType implements IDataType { .otherwise(0L).sum()), - POLICE_CHECK_TIMED_OUT("Checks completed", Long.class, + POLICE_CHECK_TIMED_OUT("Checks timed out", Long.class, new CaseBuilder() .when(QJuror.juror.policeCheck.in(PoliceCheck.UNCHECKED_MAX_RETRIES_EXCEEDED)) .then(1L)