Skip to content

Commit

Permalink
Update failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
kalletlak committed Aug 11, 2023
1 parent 5f8caf7 commit bbf94cb
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,6 @@ public Void answer(InvocationOnMock getAllTokensInvocation) {

@Test
public void createTokenNotLoggedIn() throws Exception {
ReflectionTestUtils.setField(DataAccessTokenController.class, "userRoleToAccessToken", "TEST");
Mockito.when(tokenService.createDataAccessToken(ArgumentMatchers.anyString())).thenReturn(MOCK_TOKEN_INFO);
MvcResult result = mockMvc.perform(MockMvcRequestBuilders.post("/data-access-tokens")
.accept(MediaType.APPLICATION_JSON)
Expand Down

0 comments on commit bbf94cb

Please sign in to comment.