We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c9d1ae7 commit f2b92c7Copy full SHA for f2b92c7
src/test/kotlin/uk/gov/justice/digital/hmpps/hmppsintegrationapi/integration/InfoPageIntegrationTest.kt
@@ -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