mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-21 13:31:46 +00:00
Polish
This commit is contained in:
+1
-1
@@ -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"));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user