@@ -396,7 +396,7 @@ describe('Testing of the collection.config namespace', () => {
396396 const collectionName = 'TestCollectionConfigAddVector' as const ;
397397 const collection = await client . collections . create ( {
398398 name : collectionName ,
399- vectorizers : [ weaviate . configure . vectorizer . none ( { name : 'original' } ) ] ,
399+ vectorizers : weaviate . configure . vectorizer . none ( ) ,
400400 } ) ;
401401 // Add a single named vector
402402 await collection . config . addVector ( weaviate . configure . vectorizer . none ( { name : 'vector-a' } ) ) ;
@@ -407,10 +407,10 @@ describe('Testing of the collection.config namespace', () => {
407407 weaviate . configure . vectorizer . none ( { name : 'vector-c' } ) ,
408408 ] ) ;
409409
410- // Trying to update 'original ' vector -- should be omitted from request.
410+ // Trying to update 'default ' vector -- should be omitted from request.
411411 await collection . config . addVector (
412412 weaviate . configure . vectorizer . none ( {
413- name : 'original ' ,
413+ name : 'default ' ,
414414 vectorIndexConfig : weaviate . configure . vectorIndex . flat ( ) ,
415415 } )
416416 ) ;
@@ -420,7 +420,7 @@ describe('Testing of the collection.config namespace', () => {
420420 expect ( config . vectorizers ) . toHaveProperty ( 'vector-b' ) ;
421421 expect ( config . vectorizers ) . toHaveProperty ( 'vector-c' ) ;
422422
423- expect ( config . vectorizers . original ) . toHaveProperty ( 'indexType' , 'hnsw' ) ;
423+ expect ( config . vectorizers [ 'default' ] ) . toHaveProperty ( 'indexType' , 'hnsw' ) ;
424424 } ) ;
425425 } ) ;
426426
0 commit comments