Update it test to set up environment using setupTest()

This has been done in order to check the newly implemented helpers'
functionality.
This commit is contained in:
ionutboangiu
2023-11-02 13:20:20 -04:00
committed by Dan Christian Bogos
parent ada0d948b6
commit 3e852be287
4 changed files with 238 additions and 389 deletions

View File

@@ -1,15 +1,4 @@
{
"general": {
"log_level": 7,
"reply_timeout": "50s"
},
"listen": {
"rpc_json": ":2012",
"rpc_gob": ":2013",
"http": ":2080"
},
{
"data_db": {
"db_type": "*internal"
@@ -20,19 +9,12 @@
},
"rals": {
"enabled": true,
"max_increments":3000000
"enabled": true
},
"cdrs": {
"enabled": true,
"rals_conns": ["*localhost"]
},
"sessions": {
"enabled": true,
"rals_conns": ["*localhost"],
"cdrs_conns": ["*localhost"]
"rals_conns": ["*internal"]
},
"apiers": {

View File

@@ -1,16 +1,5 @@
{
"general": {
"log_level": 7,
"reply_timeout": "50s"
},
"listen": {
"rpc_json": ":2012",
"rpc_gob": ":2013",
"http": ":2080"
},
"data_db": {
"db_type": "mongo",
"db_name": "10",
@@ -24,27 +13,17 @@
"db_password": ""
},
"rals": {
"enabled": true,
"max_increments":3000000
"enabled": true
},
"cdrs": {
"enabled": true,
"rals_conns": ["*localhost"]
},
"sessions": {
"enabled": true,
"rals_conns": ["*localhost"],
"cdrs_conns": ["*localhost"]
"rals_conns": ["*internal"]
},
"apiers": {
"enabled": true
}
}
}

View File

@@ -1,40 +1,12 @@
{
"general": {
"log_level": 7,
"reply_timeout": "50s"
},
"listen": {
"rpc_json": ":2012",
"rpc_gob": ":2013",
"http": ":2080"
},
"data_db": {
"db_type": "redis",
"db_port": 6379,
"db_name": "10"
},
"stor_db": {
"db_password": "CGRateS.org"
},
"rals": {
"enabled": true,
"max_increments":3000000
"enabled": true
},
"cdrs": {
"enabled": true,
"rals_conns": ["*localhost"]
},
"sessions": {
"enabled": true,
"rals_conns": ["*localhost"],
"cdrs_conns": ["*localhost"]
"rals_conns": ["*internal"]
},
"apiers": {