Fixed a const in general_tests package

This commit is contained in:
porosnicuadrian
2021-04-20 18:09:48 +03:00
committed by Dan Christian Bogos
parent 20c8c1eea4
commit 296a5e0ebf

View File

@@ -126,7 +126,7 @@ func testCGRLoaderGetData(t *testing.T) {
"ATTR_1001_SESSIONAUTH", "ATTR_1002_SESSIONAUTH", "ATTR_1003_SESSIONAUTH",
"ATTR_ACC_ALIAS"}
var result []string
if err := cgrloaderRPC.Call(utils.APIerSv1GetAttributeProfileIDs, &utils.PaginatorWithTenant{Tenant: "cgrates.org"}, &result); err != nil {
if err := cgrloaderRPC.Call(utils.AdminSv1GetAttributeProfileIDs, &utils.PaginatorWithTenant{Tenant: "cgrates.org"}, &result); err != nil {
t.Error(err)
} else if len(expected) != len(result) {
t.Errorf("Expecting : %+v, received: %+v", expected, result)