Skip to content

Commit e4f8198

Browse files
committed
Update test to not expect any of activations from EntitySet
1 parent c0efca4 commit e4f8198

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Orm/Xtensive.Orm.Tests/Storage/Prefetch/PrefetchManagerAdvancedTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,7 @@ public void EntitySetInNestedSessionWhenItsOwnerHasAlreadyBeenFetchedInAnotherSe
502502
using (Session.Deactivate()) { // Prevents Session switching check error
503503
Assert.AreSame(null, Session.Current);
504504
foreach (var orderDetail in order.Details) {
505-
Assert.AreSame(order.Details.Session, Session.Current);
505+
Assert.AreSame(order.Details.Session, session);
506506
Assert.AreSame(session, orderDetail.Session);
507507
Assert.AreSame(session, orderDetail.Order.Session);
508508
Assert.AreSame(order, orderDetail.Order);

0 commit comments

Comments
 (0)