Skip to content

Commit

Permalink
JBEAP-6292: spring-kitchensink-springmvctest fix for test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
sgilda committed Oct 4, 2016
1 parent 431b7ae commit 35c5e7f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public void getAccountClient() throws Exception {
@Test
public void getAccount() throws Exception {
this.mockMvc.perform(get("/rest/members/0").accept(MediaType.APPLICATION_JSON)).andExpect(status().isOk())
.andExpect(content().contentType("application/json"))
.andExpect(content().contentTypeCompatibleWith("application/json"))
.andExpect(jsonPath("$.name").value("John Smith"));
}
}

0 comments on commit 35c5e7f

Please sign in to comment.