Skip to content

Commit

Permalink
Corrected test names
Browse files Browse the repository at this point in the history
  • Loading branch information
tomwatkins1994 committed Mar 11, 2025
1 parent d42ab5e commit 4c6846e
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,19 @@ class AddressIntegrationTest : IntegrationTestBase() {
}

@Test
fun `sentences returns a 400 if the hmppsId is invalid`() {
fun `returns a 400 if the hmppsId is invalid`() {
callApi("$basePath/$invalidNomsId/addresses")
.andExpect(status().isBadRequest)
}

@Test
fun `sentences returns a 404 for if consumer has empty list of prisons`() {
fun `returns a 404 for if consumer has empty list of prisons`() {
callApiWithCN(path, noPrisonsCn)
.andExpect(status().isNotFound)
}

@Test
fun `sentences returns a 404 for prisoner in wrong prison`() {
fun `returns a 404 for prisoner in wrong prison`() {
callApiWithCN(path, limitedPrisonsCn)
.andExpect(status().isNotFound)
}
Expand Down

0 comments on commit 4c6846e

Please sign in to comment.