Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
alyssaruth committed Sep 19, 2024
1 parent 6a374f6 commit 3c79396
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion server/src/test/kotlin/routes/dev/DevControllerTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import testCore.AbstractTest

class DevControllerTest : AbstractTest() {
@Test
fun `Should respond to a health check request`() = testApplication {
fun `Should respond to a command request`() = testApplication {
val response = client.post(Routes.DEV_COMMAND, ::buildRequest)

response.status shouldBe HttpStatusCode.NoContent
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import util.OnlineConstants
class HealthCheckControllerTest : AbstractTest() {
@Test
fun `Should respond to a health check request`() = testApplication {
val response = client.get(Routes.DEV_COMMAND)
val response = client.get(Routes.HEALTH_CHECK)
response.status shouldBe HttpStatusCode.OK
response.bodyAsText() shouldMatchJson
"""
Expand Down

0 comments on commit 3c79396

Please sign in to comment.