mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-20 06:38:45 +05:00
Fixed a const in general_tests package
This commit is contained in:
committed by
Dan Christian Bogos
parent
20c8c1eea4
commit
296a5e0ebf
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user