Skip to content

Commit

Permalink
Updated test to use useraworderby attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkMpn committed Mar 27, 2024
1 parent 73642dd commit 1977f0b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions MarkMpn.Sql4Cds.Engine.Tests/ExecutionPlanTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5331,13 +5331,13 @@ public void DistinctOrderByOptionSet()

Assert.AreEqual(1, plans.Length);
var select = AssertNode<SelectNode>(plans[0]);
var sort = AssertNode<SortNode>(select.Source);
var fetch = AssertNode<FetchXmlScan>(sort.Source);
var fetch = AssertNode<FetchXmlScan>(select.Source);

AssertFetchXml(fetch, @"
<fetch xmlns:generator='MarkMpn.SQL4CDS' distinct='true'>
<fetch xmlns:generator='MarkMpn.SQL4CDS' distinct='true' useraworderby='1'>
<entity name='new_customentity'>
<attribute name='new_optionsetvalue' />
<order attribute='new_optionsetvalue' />
</entity>
</fetch>");
}
Expand Down

0 comments on commit 1977f0b

Please sign in to comment.