Skip to content

Commit

Permalink
Merge branch 'refs/heads/5098-branch-3-update-invalid-address-hash-pa…
Browse files Browse the repository at this point in the history
…rams' into 5098-branch-4-update-invalid-address-params
  • Loading branch information
Matilda-Clerke committed Jul 30, 2024
2 parents 6fc67ee + 8b72fbc commit a60966c
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,8 @@ public void whenEmptyParamOnRequestShouldThrowInvalidJsonRpcException() {

final Throwable thrown = catchThrowable(() -> method.response(request));
assertThat(thrown)
.hasNoCause()
.isInstanceOf(InvalidJsonRpcParameters.class)
.hasMessage("Missing required json rpc parameter at index 0");
.hasMessage("Invalid accounts list parameter");
}

private JsonRpcRequestContext request(final List<String> accounts) {
Expand Down

0 comments on commit a60966c

Please sign in to comment.