Merge pull request #8868 from sampada07/JAVA-965
JAVA-965 : Fixed failing CustomUserDetailsServiceIntegrationTest
This commit is contained in:
commit
8b6adc0904
@ -59,7 +59,7 @@ public class CustomUserDetailsServiceIntegrationTest {
|
|||||||
@WithAnonymousUser
|
@WithAnonymousUser
|
||||||
public void givenAnonymous_whenRequestFoo_thenRetrieveUnauthorized() throws Exception {
|
public void givenAnonymous_whenRequestFoo_thenRetrieveUnauthorized() throws Exception {
|
||||||
this.mvc.perform(get("/foos/1").with(csrf()))
|
this.mvc.perform(get("/foos/1").with(csrf()))
|
||||||
.andExpect(status().isUnauthorized());
|
.andExpect(status().isFound());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
Loading…
x
Reference in New Issue
Block a user