From 3086136f8bc98d43950b46316e0f67d224b1b0ab Mon Sep 17 00:00:00 2001 From: Anna Henningsen Date: Tue, 28 Nov 2023 15:19:40 +0100 Subject: [PATCH] Apply suggestions from code review --- packages/shell-api/src/collection.spec.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/shell-api/src/collection.spec.ts b/packages/shell-api/src/collection.spec.ts index 7cb2ede63..85ec1dfcf 100644 --- a/packages/shell-api/src/collection.spec.ts +++ b/packages/shell-api/src/collection.spec.ts @@ -2586,7 +2586,7 @@ describe('Collection', function () { }); context('with name, options and type !== search', function () { - it('calls serviceProvider.createIndexes', async function () { + it('calls serviceProvider.createSearchIndexes', async function () { await collection.createSearchIndex('my-index', 'vectorSearch', { mappings: { dynamic: true }, }); @@ -2606,7 +2606,7 @@ describe('Collection', function () { }); context('with name, options and type === search', function () { - it('calls serviceProvider.createIndexes', async function () { + it('calls serviceProvider.createSearchIndexes', async function () { await collection.createSearchIndex('my-index', 'search', { mappings: { dynamic: true }, }); @@ -2620,7 +2620,7 @@ describe('Collection', function () { }); context('with options and type but no name', function () { - it('calls serviceProvider.createIndexes', async function () { + it('calls serviceProvider.createSearchIndexes', async function () { await collection.createSearchIndex( { mappings: { dynamic: true } }, 'vectorSearch'