Skip to content

Commit 1c8208a

Browse files
eddumelendezmhalbritter
authored andcommitted
Add missing test to generate compose file when spring-ai-vectordb-neo4j is selected
See gh-1576
1 parent fedf44c commit 1c8208a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

start-site/src/test/java/io/spring/start/site/extension/dependency/neo4j/Neo4jProjectGenerationConfigurationTests.java

+6
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,10 @@ void createsNeo4jService() {
4545
assertThat(composeFile(request)).hasSameContentAs(new ClassPathResource("compose/neo4j.yaml"));
4646
}
4747

48+
@Test
49+
void createsNeo4jServiceWhenSpringAiModuleIsSelected() {
50+
ProjectRequest request = createProjectRequest("docker-compose", "spring-ai-vectordb-neo4j");
51+
assertThat(composeFile(request)).hasSameContentAs(new ClassPathResource("compose/neo4j.yaml"));
52+
}
53+
4854
}

0 commit comments

Comments
 (0)