Skip to content

Commit 74442e7

Browse files
xion-chokimohiomanbo
authored andcommitted
fix: correct name typo from 'conntection' to 'connection'
Signed-off-by: Changho Kim <[email protected]>
1 parent 8bef148 commit 74442e7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

auto-configurations/models/spring-ai-autoconfigure-model-vertex-ai/src/test/java/org/springframework/ai/model/vertexai/autoconfigure/embedding/VertexAiTextEmbeddingModelAutoConfigurationIT.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,10 @@ public class VertexAiTextEmbeddingModelAutoConfigurationIT {
5454
public void textEmbedding() {
5555
this.contextRunner.withConfiguration(AutoConfigurations.of(VertexAiTextEmbeddingAutoConfiguration.class))
5656
.run(context -> {
57-
var conntectionProperties = context.getBean(VertexAiEmbeddingConnectionProperties.class);
57+
var connectionProperties = context.getBean(VertexAiEmbeddingConnectionProperties.class);
5858
var textEmbeddingProperties = context.getBean(VertexAiTextEmbeddingProperties.class);
5959

60-
assertThat(conntectionProperties).isNotNull();
60+
assertThat(connectionProperties).isNotNull();
6161

6262
VertexAiTextEmbeddingModel embeddingModel = context.getBean(VertexAiTextEmbeddingModel.class);
6363
assertThat(embeddingModel).isInstanceOf(VertexAiTextEmbeddingModel.class);
@@ -97,10 +97,10 @@ void textEmbeddingActivation() {
9797
public void multimodalEmbedding() {
9898
this.contextRunner.withConfiguration(AutoConfigurations.of(VertexAiMultiModalEmbeddingAutoConfiguration.class))
9999
.run(context -> {
100-
var conntectionProperties = context.getBean(VertexAiEmbeddingConnectionProperties.class);
100+
var connectionProperties = context.getBean(VertexAiEmbeddingConnectionProperties.class);
101101
var multimodalEmbeddingProperties = context.getBean(VertexAiMultimodalEmbeddingProperties.class);
102102

103-
assertThat(conntectionProperties).isNotNull();
103+
assertThat(connectionProperties).isNotNull();
104104

105105
VertexAiMultimodalEmbeddingModel multiModelEmbeddingModel = context
106106
.getBean(VertexAiMultimodalEmbeddingModel.class);

0 commit comments

Comments
 (0)