Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
serras committed Dec 10, 2021
1 parent 97356a2 commit dca4c06
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/kotlin/io/arrow/example/ApplicationTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,15 @@ class ApplicationTest {
Order(emptyList())
) {
assertEquals(HttpStatusCode.BadRequest, response.status())
assertEquals("""["EMPTY_ORDER"]""", response.content)
assertEquals("EMPTY_ORDER", response.content)
}

@Test
fun `wrong id gives error`() = testProcess(
Order(listOf(Entry("NOT-AN-ID", 2)))
) {
assertEquals(HttpStatusCode.BadRequest, response.status())
assertEquals("""["INCORRECT_ID"]""", response.content)
assertEquals("INCORRECT_ID", response.content)
}

@Test
Expand Down

0 comments on commit dca4c06

Please sign in to comment.