We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef7db2c commit 637bd95Copy full SHA for 637bd95
1 file changed
tests/MongoDB.Driver.Tests/Linq/Integration/MqlCreateObjectIdTests.cs
@@ -102,7 +102,7 @@ public async Task MqlCreateObjectId_in_aggregate()
102
var collection = Fixture.Collection;
103
104
var pipeline = new EmptyPipelineDefinition<C>()
105
- .Match(d => d.Id != ObjectId.GenerateNewId())
+ .Match(d => d.Id != Mql.CreateObjectId())
106
.Project(d => new { NewId = Mql.CreateObjectId() });
107
108
var result = await collection.Aggregate(pipeline).ToListAsync();
0 commit comments