#441 - ENH: Add support for test-ebean.properties ... for mechanism to configure ebean to run tests

This commit is contained in:
Robin Bygrave
2015-10-27 00:17:47 +13:00
parent d4b8f23a5a
commit a8232d2d8b
5 changed files with 60 additions and 13 deletions
@@ -47,6 +47,7 @@ public class ServerConfigTest {
props1.setProperty("ebean.persistBatchOnCascade", "ALL");
serverConfig.loadFromProperties(props1);
serverConfig.loadTestProperties();
assertEquals(PersistBatch.ALL, serverConfig.getPersistBatch());
assertEquals(PersistBatch.ALL, serverConfig.getPersistBatchOnCascade());