Skip to content

Commit

Permalink
PR: Fix the 1-M-1 case with proper nil sort.
Browse files Browse the repository at this point in the history
  • Loading branch information
shahzadlone committed Feb 15, 2023
1 parent c4f038a commit 52dd021
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions tests/integration/query/one_to_many_to_one/with_order_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -299,19 +299,6 @@ func TestMultipleOrderByWithDepthGreaterThanOneOrderSwitched(t *testing.T) {
"yearOpened": uint64(2022),
},
},
{
"name": "Sooley",
"rating": 3.2,
"publisher": map[string]any{
"name": "Only Publisher of Sooley",
"yearOpened": uint64(1999),
},
},
{
"name": "The Associate",
"rating": 4.2,
"publisher": nil,
},
{
"name": "Theif Lord",
"rating": 4.8,
Expand All @@ -328,6 +315,14 @@ func TestMultipleOrderByWithDepthGreaterThanOneOrderSwitched(t *testing.T) {
"yearOpened": uint64(2013),
},
},
{
"name": "Sooley",
"rating": 3.2,
"publisher": map[string]any{
"name": "Only Publisher of Sooley",
"yearOpened": uint64(1999),
},
},
{
"name": "Painted House",
"rating": 4.9,
Expand All @@ -336,6 +331,11 @@ func TestMultipleOrderByWithDepthGreaterThanOneOrderSwitched(t *testing.T) {
"yearOpened": uint64(1995),
},
},
{
"name": "The Associate",
"rating": 4.2,
"publisher": nil,
},
},
}

Expand Down

0 comments on commit 52dd021

Please sign in to comment.