Skip to content

Commit 97e58cc

Browse files
ThomasVitalemarkpollack
authored andcommitted
Fix Qdrant failing test
Signed-off-by: Thomas Vitale <[email protected]>
1 parent 2aaa57f commit 97e58cc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

vector-stores/spring-ai-qdrant-store/src/test/java/org/springframework/ai/vectorstore/qdrant/QdrantVectorStoreBuilderTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,14 +70,14 @@ void customConfiguration() {
7070
@Test
7171
void nullQdrantClientInConstructorShouldThrowException() {
7272
assertThatThrownBy(() -> QdrantVectorStore.builder(null, null)).isInstanceOf(IllegalArgumentException.class)
73-
.hasMessage("QdrantClient must not be null");
73+
.hasMessage("EmbeddingModel must be configured");
7474
}
7575

7676
@Test
7777
void nullEmbeddingModelShouldThrowException() {
7878
assertThatThrownBy(() -> QdrantVectorStore.builder(qdrantClient, null).build())
7979
.isInstanceOf(IllegalArgumentException.class)
80-
.hasMessage("EmbeddingModel must not be null");
80+
.hasMessage("EmbeddingModel must be configured");
8181
}
8282

8383
@Test

0 commit comments

Comments
 (0)