Skip to content

Commit cbae917

Browse files
committed
IssueJira0615 test: changed IN collection
1 parent b6fb800 commit cbae917

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Orm/Xtensive.Orm.Tests/Issues/IssueJira0615_IncorrectComparisonWithLocalEntity.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1586,14 +1586,14 @@ public void EqualsInOrderByConditionalTest09()
15861586

15871587
var margin = 2;
15881588
var results = Session.Query.All<PickingProductRequirement>()
1589-
.OrderBy(p => (p.Quantity.NormalizedValue * (p.InventoryAction.LogisticFlow == sharedFlow ? margin : 1)).In(40, 41, 42))
1589+
.OrderBy(p => (p.Quantity.NormalizedValue * (p.InventoryAction.LogisticFlow == sharedFlow ? margin : 1)).In(40, 70, 72))
15901590
.ToArray();
15911591

15921592
Assert.That(results.Length, Is.EqualTo(4));
1593-
Assert.That(results[0].InventoryAction.LogisticFlow, Is.EqualTo(sharedFlow));
1594-
Assert.That(results[1].InventoryAction.LogisticFlow, Is.EqualTo(sharedFlow));
1595-
Assert.That(results[2].InventoryAction.LogisticFlow, Is.Not.EqualTo(sharedFlow));
1596-
Assert.That(results[3].InventoryAction.LogisticFlow, Is.Not.EqualTo(sharedFlow));
1593+
Assert.That(results[0].InventoryAction.LogisticFlow, Is.Not.EqualTo(sharedFlow));
1594+
Assert.That(results[1].InventoryAction.LogisticFlow, Is.Not.EqualTo(sharedFlow));
1595+
Assert.That(results[2].InventoryAction.LogisticFlow, Is.EqualTo(sharedFlow));
1596+
Assert.That(results[3].InventoryAction.LogisticFlow, Is.EqualTo(sharedFlow));
15971597
}
15981598

15991599
[Test]

0 commit comments

Comments
 (0)