Skip to content

Commit

Permalink
Add missing test to generate compose file when spring-ai-vectordb-neo…
Browse files Browse the repository at this point in the history
…4j is selected

See gh-1576
  • Loading branch information
eddumelendez authored and mhalbritter committed Sep 5, 2024
1 parent fedf44c commit 1c8208a
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,10 @@ void createsNeo4jService() {
assertThat(composeFile(request)).hasSameContentAs(new ClassPathResource("compose/neo4j.yaml"));
}

@Test
void createsNeo4jServiceWhenSpringAiModuleIsSelected() {
ProjectRequest request = createProjectRequest("docker-compose", "spring-ai-vectordb-neo4j");
assertThat(composeFile(request)).hasSameContentAs(new ClassPathResource("compose/neo4j.yaml"));
}

}

0 comments on commit 1c8208a

Please sign in to comment.