@TestPropertySource(properties="mongock.runner-type=NONE") public class MongockSpringbootIntegrationTestBase extends MongockIntegrationTestBase
| Constructor and Description |
|---|
MongockSpringbootIntegrationTestBase() |
| Modifier and Type | Method and Description |
|---|---|
void |
connectionDriver(io.mongock.driver.api.driver.ConnectionDriver driver)
It cleans both repositories, lock and changeLogs.
|
void |
runnerBuilder(io.mongock.runner.core.builder.RunnerBuilder builder)
It marks the ConnectionDriver to allow re-initialization(which is not allowed in production) and
build the runner
|
executeMongock, mongockAfterEach, mongockBeforeEach, setBuilder, setConnectionDriverpublic MongockSpringbootIntegrationTestBase()
@Autowired public void runnerBuilder(io.mongock.runner.core.builder.RunnerBuilder builder)
@Autowired public void connectionDriver(io.mongock.driver.api.driver.ConnectionDriver driver)
Copyright © 2024. All rights reserved.