mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
#441 - ENH: Add support for test-ebean.properties ... for mechanism to configure ebean to run tests
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user