File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
tests/MongoDB.Driver.Legacy.Tests Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 21
21
using MongoDB . Bson ;
22
22
using MongoDB . Bson . IO ;
23
23
using MongoDB . Bson . Serialization . Attributes ;
24
- using MongoDB . Driver ;
25
24
using MongoDB . Driver . Builders ;
26
25
using MongoDB . Driver . Core ;
27
26
using MongoDB . Driver . GeoJsonObjectModel ;
31
30
using MongoDB . Driver . Core . TestHelpers . XunitExtensions ;
32
31
using MongoDB . Driver . Core . Clusters ;
33
32
using MongoDB . Driver . Core . Misc ;
34
- using MongoDB . Driver . TestHelpers ;
35
33
using MongoDB . Driver . Core . Events ;
36
34
using MongoDB . Driver . Legacy . Tests ;
37
35
@@ -161,7 +159,8 @@ public void TestAggregateExplain()
161
159
}
162
160
} ) ;
163
161
164
- Assert . True ( result . Response . Contains ( "stages" ) ) ;
162
+ var response = result . Response ;
163
+ Assert . True ( response . Contains ( "stages" ) || response . Contains ( "queryPlanner" ) ) ;
165
164
}
166
165
}
167
166
You can’t perform that action at this time.
0 commit comments