Skip to content

Commit

Permalink
Fix test with added definition for covering all tasks/executions and …
Browse files Browse the repository at this point in the history
…tasks/thinexecutions name search scenarios.
  • Loading branch information
corneil committed Oct 22, 2024
1 parent 4fd8d08 commit 8d1558f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ void getDefinitionsWithLastExecution() throws Exception {
mockMvc.perform(get("/tasks/definitions").accept(MediaType.APPLICATION_JSON))
.andExpect(status().isOk())
.andDo(print())
.andExpect(jsonPath("$._embedded.taskDefinitionResourceList", hasSize(1)));
.andExpect(jsonPath("$._embedded.taskDefinitionResourceList", hasSize(2)));
}
@Test
void getExecutionsByNameNotFound() throws Exception {
Expand Down

0 comments on commit 8d1558f

Please sign in to comment.