void shouldNotCompleteTaskByIdWhenNoCephConnection()

in src/it/java/com/epam/digital/data/platform/usrtaskmgt/controller/UserTaskControllerIT.java [213:220]


  void shouldNotCompleteTaskByIdWhenNoCephConnection() throws Exception {
    mockGetExtendedTask(fileContent("/json/getSignableTaskWithFormVariablesResponse.json"));

    var request = post("/api/task/" + TASK_ID + "/complete")
        .accept(MediaType.APPLICATION_JSON_VALUE).contentType("application/json").content("{}");

    performWithTokenOfficerRole(request).andExpect(status().is5xxServerError());
  }