Skip to content

Commit e37ecc5

Browse files
author
Markus Hall
committed
Adjust test to include lookup sorting
1 parent c39fc70 commit e37ecc5

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

Core.Arango.DevExtreme.Tests/TransformTest.cs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -147,10 +147,9 @@ public void GroupLookups()
147147
ProjectKey = x.ProjectKey
148148
AGGREGATE
149149
TotalCount = LENGTH(1), SUMDuration = SUM(x.Duration), SUMRevenue = SUM(x.Revenue)
150-
SORT ProjectKey ASC
151-
RETURN {
152-
TotalCount, ProjectKey, ProjectKey_DV: DOCUMENT(AProject, ProjectKey).Name, SUMDuration, SUMRevenue
153-
}
150+
LET result = {TotalCount, ProjectKey, ProjectKey_DV: DOCUMENT(AProject, ProjectKey).Name, SUMDuration, SUMRevenue}
151+
SORT result.ProjectKey_DV ASC, ProjectKey ASC
152+
RETURN result
154153
", at.AggregateExpression);
155154
}
156155

0 commit comments

Comments
 (0)