File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -262,7 +262,7 @@ mod test {
262262 #[ async_test]
263263 async fn test_wait_for_pending_updates_with_args ( ) {
264264 let client = Client :: new ( "http://localhost:7700" , "masterKey" ) ;
265- let movies = client. create_index ( "movies_wait_for_pending_args" , None ) . await . unwrap ( ) ;
265+ let movies = client. get_or_create ( "movies_wait_for_pending_args" ) . await . unwrap ( ) ;
266266 let progress = movies. add_documents ( & [
267267 Document {
268268 id : 0 ,
@@ -286,7 +286,7 @@ mod test {
286286 #[ async_test]
287287 async fn test_wait_for_pending_updates_time_out ( ) {
288288 let client = Client :: new ( "http://localhost:7700" , "masterKey" ) ;
289- let movies = client. create_index ( "movies_wait_for_pending_timeout" , None ) . await . unwrap ( ) ;
289+ let movies = client. get_or_create ( "movies_wait_for_pending_timeout" ) . await . unwrap ( ) ;
290290 let progress = movies. add_documents ( & [
291291 Document {
292292 id : 0 ,
You can’t perform that action at this time.
0 commit comments