Skip to content

Commit 6190fd8

Browse files
fix collection creation in tests
1 parent d6c89ad commit 6190fd8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/manual/search-index-management.prose.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ describe('Index Management Prose Tests', function () {
286286

287287
it('Case 7: Driver can successfully handle search index types when creating indexes', metadata, async function () {
288288
// 01. Create a collection with the "create" command using a randomly generated name (referred to as `coll0`).
289-
const coll0 = await client.db('node-test').collection(new ObjectId().toHexString());
289+
const coll0 = collection;
290290
{
291291
// 02. Create a new search index on `coll0` with the `createSearchIndex` helper. Use the following definition:
292292
// ```typescript

0 commit comments

Comments
 (0)