Skip to content

Commit

Permalink
* Fix - old value in unit test.
Browse files Browse the repository at this point in the history
  • Loading branch information
miroslavpojer committed Nov 21, 2023
1 parent d8e2ae1 commit 4e6dd01
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -773,7 +773,7 @@ class ResponseAssertionsTest extends FunSuite {
val result = AssertionResponseAction.performResponseAction(response, bodyContainsTextResponseAction)
result match {
case Failure(exception) =>
assert(clue(exception.getMessage) == "Assertion failed: Expected body to contain dummies")
assert(clue(exception.getMessage) == "Assertion failed: Expected body to contains: 'dummies'. Content of body: 'This is a dummy body'")
case _ =>
fail("Expected a failure of test but test Passed")
}
Expand Down

0 comments on commit 4e6dd01

Please sign in to comment.