add tests for principal accessor
Closed this issue · 1 comments
github-actions commented
assertThat(capturedGid).isEqualTo(UID);
}
@Test
public void whenGetPrincpal_ThenReturnsPrincipal() throws Exception {
// when
MvcResult result = mockMvc
.perform(
MockMvcRequestBuilders.get(BASE_URL)
.accept(MediaType.APPLICATION_JSON))
.andExpect(status().isOk()
).andReturn();
// TODO add tests for principal accessor
}
}
StruckCroissant commented
Duplicate of #36