Skip to content

Commit

Permalink
force test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
adinauer committed Jan 25, 2024
1 parent 6b4dd70 commit 11a2808
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class PersonSystemTest {

val restClient = testHelper.restClient
restClient.getPerson(1L)
assertEquals(HttpStatus.INTERNAL_SERVER_ERROR, restClient.lastKnownStatusCode)
assertEquals(HttpStatus.BAD_REQUEST, restClient.lastKnownStatusCode)

testHelper.ensureEnvelopeCountIncreased()
}
Expand All @@ -32,7 +32,7 @@ class PersonSystemTest {
val restClient = testHelper.restClient
val person = Person("firstA", "lastB")
val returnedPerson = restClient.createPerson(person)
assertEquals(HttpStatus.OK, restClient.lastKnownStatusCode)
assertEquals(HttpStatus.NOT_FOUND, restClient.lastKnownStatusCode)

assertEquals(person.firstName, returnedPerson!!.firstName)
assertEquals(person.lastName, returnedPerson!!.lastName)
Expand Down

0 comments on commit 11a2808

Please sign in to comment.