This commit is contained in:
Rossen Stoyanchev
2018-01-24 17:37:49 -05:00
parent 81ca1f7c2b
commit 49f1aa78eb
2 changed files with 11 additions and 11 deletions

View File

@@ -159,7 +159,7 @@ public class HeaderAssertionTests {
this.mockMvc.perform(get("/persons/1")).andExpect(header().doesExist(LAST_MODIFIED));
}
@Test(expected = AssertionError.class) // SPR-10771
@Test(expected = AssertionError.class)
public void doesExistFail() throws Exception {
this.mockMvc.perform(get("/persons/1")).andExpect(header().doesExist("X-Custom-Header"));
}