mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Fixup default config for different subsystems databases
This commit is contained in:
@@ -121,7 +121,7 @@ func (self *CGRConfig) setDefaults() error {
|
||||
self.AccountDBType = REDIS
|
||||
self.AccountDBHost = "127.0.0.1"
|
||||
self.AccountDBPort = "6379"
|
||||
self.AccountDBName = "10"
|
||||
self.AccountDBName = "11"
|
||||
self.AccountDBUser = ""
|
||||
self.AccountDBPass = ""
|
||||
self.StorDBType = utils.MYSQL
|
||||
|
||||
@@ -44,7 +44,7 @@ func TestDefaults(t *testing.T) {
|
||||
eCfg.AccountDBType = REDIS
|
||||
eCfg.AccountDBHost = "127.0.0.1"
|
||||
eCfg.AccountDBPort = "6379"
|
||||
eCfg.AccountDBName = "10"
|
||||
eCfg.AccountDBName = "11"
|
||||
eCfg.AccountDBUser = ""
|
||||
eCfg.AccountDBPass = ""
|
||||
eCfg.StorDBType = utils.MYSQL
|
||||
|
||||
Reference in New Issue
Block a user