Skip to content

Commit

Permalink
Revise: Fix StatisticsControllerTest
Browse files Browse the repository at this point in the history
  • Loading branch information
AhmetAksunger committed Sep 18, 2023
1 parent 242f183 commit f3a94e6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ void givenPaginationRequest_WhenAdminRole_ReturnOrderReportResponse() throws Exc

// then
mockMvc.perform(get("/api/v1/statistics/allstatistics")
.header(HttpHeaders.AUTHORIZATION, mockUserToken)
.header(HttpHeaders.AUTHORIZATION, mockAdminToken)
.contentType(MediaType.APPLICATION_JSON)
.content(objectMapper.writeValueAsString(paginationRequest)))
.andExpect(status().isOk());
Expand Down

0 comments on commit f3a94e6

Please sign in to comment.