Skip to content

Commit f98bada

Browse files
committed
Make new MongoIT test connection details configurable
1 parent 6699005 commit f98bada

File tree

1 file changed

+1
-1
lines changed
  • spring-content-mongo/src/test/java/internal/org/springframework/content/mongo/it

1 file changed

+1
-1
lines changed

spring-content-mongo/src/test/java/internal/org/springframework/content/mongo/it/MongoStoreIT.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ protected String getDatabaseName() {
343343

344344
@Bean
345345
public MongoClient mongoClient() {
346-
return MongoClients.create();
346+
return MongoClients.create(mongoDbUrl);
347347
}
348348

349349
@Bean

0 commit comments

Comments
 (0)