Updated StatQueue handling in datamanager

This commit is contained in:
Trial97
2021-05-21 13:15:19 +03:00
committed by Dan Christian Bogos
parent 30b6cc2c70
commit 8cd952dbe9
16 changed files with 284 additions and 508 deletions

View File

@@ -677,16 +677,6 @@ func TestLoadDispatcherHosts(t *testing.T) {
}
}
func TestLoadstatQueues(t *testing.T) {
eStatQueues := []*utils.TenantID{
{Tenant: "cgrates.org", ID: "TestStats"},
{Tenant: "cgrates.org", ID: "TestStats2"},
}
if len(csvr.statQueues) != len(eStatQueues) {
t.Errorf("Failed to load statQueues: %s", utils.ToIJSON(csvr.statQueues))
}
}
func TestLoadAccount(t *testing.T) {
expected := &utils.TPAccount{
TPid: testTPID,