You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
361 B
18 lines
361 B
package controllers
|
|
|
|
import controllers.common.MyAPISpec
|
|
import play.api.Application
|
|
import play.api.test.Helpers._
|
|
|
|
class HealthControllerSpec extends MyAPISpec {
|
|
|
|
val application: Application = guiceApplicationBuilder.build()
|
|
|
|
"GET /health" should {
|
|
"return OK" in {
|
|
val response = GET("/health")
|
|
|
|
status(response) mustEqual OK
|
|
}
|
|
}
|
|
}
|