Skip to content

Commit 31b3b9d

Browse files
Merge pull request #553 from hmcts/RDCC-6698
EqualsIgnoreCase in func tests
2 parents 7ab5ff5 + eaea7f6 commit 31b3b9d

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

config/owasp/suppressions.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@
1212
]]></notes>
1313
<cve>CVE-2016-1000027</cve>
1414
</suppress>
15-
16-
<suppress until="2024-01-01">
15+
<suppress until="2024-01-01">
1716
<notes><![CDATA[
1817
file name: log4j-core-2.17.1.jar
1918
]]></notes>

src/functionalTest/java/uk/gov/hmcts/reform/lrdapi/RetrieveCourtVenuesByServiceCodeFunctionalTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ void retrieveBuildingLocations_UnauthorizedDueToNoS2SToken_ShouldReturnStatusCod
9191
private void responseVerification(LrdCourtVenuesByServiceCodeResponse response) {
9292
assertEquals("BFA1", response.getServiceCode());
9393
assertEquals("23", response.getCourtTypeId());
94-
assertEquals("Immigration and Asylum Tribunal", response.getCourtType());
94+
assertThat(response.getCourtType()).isEqualToIgnoringCase("Immigration and Asylum Tribunal");
9595
assertNull(response.getWelshCourtType());
9696
assertThat(response.getCourtVenues().size()).isPositive();
9797
}

0 commit comments

Comments
 (0)