Skip to content

Commit

Permalink
Fixes invalid test.
Browse files Browse the repository at this point in the history
  • Loading branch information
archolewa committed Dec 8, 2016
1 parent 478e46f commit 7f9abcf
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ class AsyncInvalidApiRequest extends AsyncFunctionalSpec {

@Override
Map<String, Closure<Void>> getResultAssertions() {
[ data: { assert GroovyTestUtils.compareJson(it.readEntity(String), EXPECTED_ERROR_MESSAGE) } ]
[ data: { assert GroovyTestUtils.compareErrorPayload(it.readEntity(String), EXPECTED_ERROR_MESSAGE) } ]

}

@Override
Expand Down

0 comments on commit 7f9abcf

Please sign in to comment.