Skip to content

Commit 21d8e5f

Browse files
rename options to AggregationOptions
1 parent 2f95503 commit 21d8e5f

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

test/spec/index-management/listSearchIndexes.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@
114114
"object": "collection0",
115115
"arguments": {
116116
"name": "test index",
117-
"options": {
117+
"aggregationOptions": {
118118
"batchSize": 10
119119
}
120120
},

test/spec/index-management/listSearchIndexes.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ tests:
6464
object: *collection0
6565
arguments:
6666
name: &indexName "test index"
67-
options:
67+
aggregationOptions:
6868
batchSize: 10
6969
expectError:
7070
# Search indexes are only available on 7.0+ atlas clusters. DRIVERS-2630 will add e2e testing

test/tools/unified-spec-runner/operations.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -755,8 +755,8 @@ operations.set('getKeyByAltName', async ({ entities, operation }) => {
755755

756756
operations.set('listSearchIndexes', async ({ entities, operation }) => {
757757
const collection: Collection<any> = entities.getEntity('collection', operation.object);
758-
const { name, options } = operation.arguments ?? {};
759-
return collection.listSearchIndexes(name, options).toArray();
758+
const { name, aggregationOptions } = operation.arguments ?? {};
759+
return collection.listSearchIndexes(name, aggregationOptions).toArray();
760760
});
761761

762762
operations.set('dropSearchIndex', async ({ entities, operation }) => {

0 commit comments

Comments
 (0)