File tree 1 file changed +2
-2
lines changed
tests/MongoDB.Driver.Tests 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -248,7 +248,7 @@ public void Search_should_throw_when_query_is_null()
248
248
var pipeline = new EmptyPipelineDefinition < BsonDocument > ( ) ;
249
249
var exception = Record . Exception ( ( ) => pipeline . Search ( null ) ) ;
250
250
exception . Should ( ) . BeOfType < ArgumentNullException > ( )
251
- . Which . ParamName . Should ( ) . Be ( "query " ) ;
251
+ . Which . ParamName . Should ( ) . Be ( "searchDefinition " ) ;
252
252
}
253
253
254
254
[ Fact ]
@@ -304,7 +304,7 @@ public void SearchMeta_should_throw_when_query_is_null()
304
304
var pipeline = new EmptyPipelineDefinition < BsonDocument > ( ) ;
305
305
var exception = Record . Exception ( ( ) => pipeline . SearchMeta ( null ) ) ;
306
306
exception . Should ( ) . BeOfType < ArgumentNullException > ( )
307
- . Which . ParamName . Should ( ) . Be ( "query " ) ;
307
+ . Which . ParamName . Should ( ) . Be ( "searchDefinition " ) ;
308
308
}
309
309
310
310
// private methods
You can’t perform that action at this time.
0 commit comments