mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-06 00:32:18 +00:00
#843 - Change ServerConfig name to default to "db" (prior default was null) and defaultServer to true
This commit is contained in:
1 parent
ea5e9fa75a
commit
e9ad459fa5
3 files changed
+6
-3
No files matched your search
@@ -14,6 +14,7 @@ public class DbMigrationConfigTest {
|
||||
ServerConfig config = new ServerConfig();
|
||||
config.setName("h2other");
|
||||
config.loadFromProperties();
|
||||
config.setDefaultServer(false);
|
||||
|
||||
DbMigrationConfig migrationConfig = config.getMigrationConfig();
|
||||
|
||||
|
||||
+2
@@ -46,6 +46,8 @@ public class TestPersistenceContextServerConfig extends BaseTestCase {
|
||||
config.loadFromProperties(properties);
|
||||
config.setPersistenceContextScope(PersistenceContextScope.QUERY);
|
||||
config.setContainerConfig(new ContainerConfig());
|
||||
config.setDefaultServer(false);
|
||||
config.setRegister(false);
|
||||
|
||||
// DataSourceConfig dataSourceConfig = new DataSourceConfig();
|
||||
// dataSourceConfig.setUsername("sa");
|
||||
|
||||
Reference in new issue
Block a user