Skip to content

Commit acec9f0

Browse files
committed
Fix broken tests
1 parent db6ac51 commit acec9f0

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/collections/integration.test.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import {
66
PQConfig,
77
PhoneNumber,
88
PropertyConfig,
9+
ReplicationDeletionStrategy,
910
Text2VecContextionaryConfig,
1011
Text2VecOpenAIConfig,
1112
VectorIndexConfigHNSW,
@@ -579,7 +580,9 @@ describe('Testing of the collections.create method', () => {
579580
expect(response.multiTenancy.enabled).toEqual(true);
580581

581582
expect(response.replication.asyncEnabled).toEqual(false);
582-
expect(response.replication.deletionStrategy).toEqual('DeleteOnConflict');
583+
expect(response.replication.deletionStrategy).toEqual<ReplicationDeletionStrategy>(
584+
'NoAutomatedResolution'
585+
);
583586
expect(response.replication.factor).toEqual(2);
584587

585588
const indexConfig = response.vectorizers.default.indexConfig as VectorIndexConfigHNSW;

src/collections/journey.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ describe('Journey testing of the client using a WCD cluster', () => {
145145
references: [],
146146
replication: {
147147
asyncEnabled: false,
148+
deletionStrategy: 'NoAutomatedResolution',
148149
factor: 1,
149150
},
150151
reranker: {

0 commit comments

Comments
 (0)