mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
FIX: do not set username and password for DbMigrationConfig (#1304)
This commit is contained in:
committed by
Rob Bygrave
parent
efe325034b
commit
94a118d635
@@ -55,8 +55,9 @@ public class DbMigrationConfigTest {
|
||||
DbMigrationConfig migrationConfig = new DbMigrationConfig();
|
||||
migrationConfig.loadSettings(wrapper, "db");
|
||||
|
||||
assertEquals(migrationConfig.getDbUsername(),"banana");
|
||||
assertEquals(migrationConfig.getDbPassword(),"apple");
|
||||
// runnerConfig will fall back itsel to the correct password
|
||||
assertEquals(migrationConfig.getDbUsername(),null);
|
||||
assertEquals(migrationConfig.getDbPassword(),null);
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
Reference in New Issue
Block a user