Last active
April 14, 2023 13:28
-
-
Save RickSlot/06c344333782bce66d90080cbf28aa06 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@DynamicPropertySource | |
static void registerMongoProperties(DynamicPropertyRegistry registry) { | |
registry.add("spring.data.mongodb.uri", () -> mongoDBContainer.getConnectionString() + DATABASE_NAME); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment