Skip to content

Commit

Permalink
💚 : fixing gaia mongo uri in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
juwit committed Jul 12, 2019
1 parent 217123c commit 10718cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/java/io/codeka/gaia/test/MongoContainer.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ public void start() {
super.start();
var port = getMappedPort(27017);
// register the port as property for spring
System.setProperty("spring.data.mongodb.port", String.valueOf(port));
System.setProperty("gaia.mongodb.uri", String.format("mongodb://localhost:%d/gaia", port));
}
}

0 comments on commit 10718cb

Please sign in to comment.