Skip to content

Commit

Permalink
Fixed test #1005
Browse files Browse the repository at this point in the history
  • Loading branch information
p-wunderlich committed Jul 17, 2024
1 parent 6938fc8 commit c9b2a7f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 48 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -466,10 +466,10 @@ internal class JpaPolyflowViewServiceTaskITest {

val assigned = jpaPolyflowViewService.query(TasksForCandidateUserAndGroupQuery(user = User("zoro", setOf("muppets")), includeAssigned = true))
assertThat(assigned.elements).hasSize(2)
assertThat(assigned.elements[0].name).isEqualTo("task name 1")
assertThat(assigned.elements[0].id).isEqualTo(id)
assertThat(assigned.elements[1].name).isEqualTo("task name 4")
assertThat(assigned.elements[1].id).isEqualTo(id4)
assertThat(assigned.elements[0].id).isEqualTo(id4)
assertThat(assigned.elements[0].name).isEqualTo("task name 4")
assertThat(assigned.elements[1].id).isEqualTo(id)
assertThat(assigned.elements[1].name).isEqualTo("task name 1")

val assignedToZoro = jpaPolyflowViewService.query(TasksForCandidateUserAndGroupQuery(user = User("zoro", setOf("muppets")), includeAssigned = true, filters = listOf("task.assignee=zoro")))
assertThat(assignedToZoro.elements).hasSize(1)
Expand Down

This file was deleted.

0 comments on commit c9b2a7f

Please sign in to comment.