Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -70,14 +70,14 @@ void customConfiguration() {
@Test
void nullQdrantClientInConstructorShouldThrowException() {
assertThatThrownBy(() -> QdrantVectorStore.builder(null, null)).isInstanceOf(IllegalArgumentException.class)
.hasMessage("QdrantClient must not be null");
.hasMessage("EmbeddingModel must be configured");
}

@Test
void nullEmbeddingModelShouldThrowException() {
assertThatThrownBy(() -> QdrantVectorStore.builder(qdrantClient, null).build())
.isInstanceOf(IllegalArgumentException.class)
.hasMessage("EmbeddingModel must not be null");
.hasMessage("EmbeddingModel must be configured");
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This message now is defined in the abstract parent builder, so it differs from the one that used to be defined in QdrantVectorStore itself.

}

@Test
Expand Down
Loading