Skip to content

Commit 329beaa

Browse files
committed
CSHARP-2596: Fix test.
1 parent 9110ce0 commit 329beaa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/MongoDB.Driver.Tests/Linq/MongoQueryableTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1735,7 +1735,7 @@ public void AsQueryable_in_transaction()
17351735
{
17361736
__collection.InsertOne(session, new Root());
17371737

1738-
var result_not_in_transaction = CreateQuery(null).Count(); // checks AsQueryable with null session (outside transaction)
1738+
var result_not_in_transaction = CreateQuery().Count(); // checks AsQueryable with no session (outside transaction)
17391739

17401740
result_not_in_transaction.Should().Be(2);
17411741

0 commit comments

Comments
 (0)