Skip to content

Commit f2b92c7

Browse files
committed
PI-2517 - update integration tests
1 parent c9d1ae7 commit f2b92c7

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
package uk.gov.justice.digital.hmpps.hmppsintegrationapi.integration
2+
3+
import org.junit.jupiter.api.Test
4+
import org.springframework.test.web.servlet.result.MockMvcResultMatchers.jsonPath
5+
import org.springframework.test.web.servlet.result.MockMvcResultMatchers.status
6+
7+
class InfoPageIntegrationTest : IntegrationTestBase() {
8+
@Test
9+
fun `Info page is accessible`() {
10+
callApi("/info")
11+
.andExpect(status().isOk)
12+
.andExpect(jsonPath("$.build.name").value("hmpps-integration-api"))
13+
}
14+
}

0 commit comments

Comments
 (0)