mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-12 18:46:24 +05:00
Fixed wrong parameters given to api in test
This commit is contained in:
committed by
Dan Christian Bogos
parent
e1b5ef2c4c
commit
f29fbff203
@@ -285,10 +285,9 @@ func testAccGetAccs(t *testing.T) {
|
||||
|
||||
func testAccGetAccIDsCount(t *testing.T) {
|
||||
var reply int
|
||||
args := &utils.TenantIDWithAPIOpts{
|
||||
TenantID: &utils.TenantID{
|
||||
Tenant: utils.CGRateSorg,
|
||||
},
|
||||
args := &utils.ArgsItemIDs{
|
||||
Tenant: utils.CGRateSorg,
|
||||
ItemsPrefix: "",
|
||||
}
|
||||
if err := accSRPC.Call(context.Background(), utils.AdminSv1GetAccountsCount,
|
||||
args, &reply); err != nil {
|
||||
@@ -481,10 +480,9 @@ func testAccGetAccs2(t *testing.T) {
|
||||
|
||||
func testAccGetAccIDsCount2(t *testing.T) {
|
||||
var reply int
|
||||
args := &utils.TenantIDWithAPIOpts{
|
||||
TenantID: &utils.TenantID{
|
||||
Tenant: utils.CGRateSorg,
|
||||
},
|
||||
args := &utils.ArgsItemIDs{
|
||||
Tenant: utils.CGRateSorg,
|
||||
ItemsPrefix: "",
|
||||
}
|
||||
if err := accSRPC.Call(context.Background(), utils.AdminSv1GetAccountsCount,
|
||||
args, &reply); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user