mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-21 15:18:44 +05:00
Updated Resource handling in datamanager
This commit is contained in:
committed by
Dan Christian Bogos
parent
e1b21983c4
commit
30b6cc2c70
@@ -677,16 +677,6 @@ func TestLoadDispatcherHosts(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
func TestLoadResource(t *testing.T) {
|
||||
eResources := []*utils.TenantID{
|
||||
{Tenant: "cgrates.org", ID: "ResGroup21"},
|
||||
{Tenant: "cgrates.org", ID: "ResGroup22"},
|
||||
}
|
||||
if len(csvr.resources) != len(eResources) {
|
||||
t.Errorf("Failed to load resources expecting 2 but received : %+v", len(csvr.resources))
|
||||
}
|
||||
}
|
||||
|
||||
func TestLoadstatQueues(t *testing.T) {
|
||||
eStatQueues := []*utils.TenantID{
|
||||
{Tenant: "cgrates.org", ID: "TestStats"},
|
||||
|
||||
Reference in New Issue
Block a user