Skip to content

Commit

Permalink
Fix test case
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosedp committed Feb 8, 2024
1 parent 71ac62d commit a39558b
Showing 1 changed file with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,15 @@ class RestAssuredScalaExtensionsTest:
)
} catch {
case e: AssertionError =>
assertThat(e).hasMessage("""1 expectation failed.
assertThat(e).hasMessage("""3 expectations failed.
|Expected status code <400> but was <200>.
|
|JSON path message doesn't match.
|Expected: Another World
| Actual: Hello World
|
|JSON path message doesn't match.
|Expected: Brave new world
| Actual: Hello World
|""".stripMargin)
}

0 comments on commit a39558b

Please sign in to comment.