Skip to content

Commit

Permalink
Use name instead of type since for type the value is two times the sa…
Browse files Browse the repository at this point in the history
…me. Because of this, id depends on the db how those are sorted. #1005
  • Loading branch information
p-wunderlich committed Jul 17, 2024
1 parent 85c7077 commit 6938fc8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ internal class JpaPolyflowViewServiceDataEntryITest {
fun `sort should be backwards compatible`() {

val result = jpaPolyflowViewService.query(
DataEntriesQuery(sort = "+type")
DataEntriesQuery(sort = "+name")
)
assertThat(result.payload.elements.map { it.entryId }).containsExactly(id, id2, id4)
}
Expand Down

0 comments on commit 6938fc8

Please sign in to comment.