Skip to content

Commit

Permalink
Fix HTTP tests accoridng SF changes
Browse files Browse the repository at this point in the history
  • Loading branch information
artembilan committed Nov 19, 2019
1 parent c19782f commit 888bd7d
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -840,7 +840,7 @@ public void acceptHeaderForSerializableResponse() throws IOException {
}
assertThat(requestHeaders.getAccept()).isNotNull();
assertThat(requestHeaders.getAccept().size() > 0).isTrue();
assertThat(exception.getCause().getMessage()).isEqualTo("404 Not Found");
assertThat(exception.getCause().getMessage()).contains("404 Not Found");
List<MediaType> accept = requestHeaders.getAccept();
assertThat(accept.size() > 0).isTrue();
assertThat(accept.get(0).getType()).isEqualTo("application");
Expand Down Expand Up @@ -876,7 +876,7 @@ public void acceptHeaderForSerializableResponseMessageExchange() throws IOExcept
}
assertThat(requestHeaders.getAccept()).isNotNull();
assertThat(requestHeaders.getAccept().size() > 0).isTrue();
assertThat(exception.getCause().getMessage()).isEqualTo("404 Not Found");
assertThat(exception.getCause().getMessage()).contains("404 Not Found");
List<MediaType> accept = requestHeaders.getAccept();
assertThat(accept.size() > 0).isTrue();
assertThat(accept.get(0).getType()).isEqualTo("application");
Expand Down

0 comments on commit 888bd7d

Please sign in to comment.