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

This commit is contained in:
Robin Bygrave committed 2015-10-27 00:17:47 +13:00
1 parent d4b8f23a5a
commit a8232d2d8b
5 files changed
+60 -13

No files matched your search

@@ -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());