mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
#1343 - Update for ... #1283 ENH: Support simplified test configuration (with docker setup typically via application-test.yml)
DefaultContainer with config.loadFromProperties(PropertiesLoader.load()); effectively runs eval twice on properties which is unnecessary. Additionally add ServerConfig.setRunMigration() because I think it makes more sense / easier to find. Remote PropertiesLoader.setProperty() as it is no longer required for the ebean-test-config plugin.
This commit is contained in:
@@ -83,7 +83,7 @@ public class DefaultContainer implements SpiContainer {
|
||||
|
||||
ServerConfig config = new ServerConfig();
|
||||
config.setName(name);
|
||||
config.loadFromProperties(PropertiesLoader.load());
|
||||
config.loadFromProperties();
|
||||
|
||||
return createServer(config);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user