Reverted test in general tests in order to repair it in the future

This commit is contained in:
andronache
2021-05-25 09:01:39 +03:00
committed by Dan Christian Bogos
parent f2b0a0b65e
commit fa8070129d

View File

@@ -28,6 +28,7 @@ import (
"testing"
"time"
v1 "github.com/cgrates/cgrates/apier/v1"
"github.com/cgrates/cgrates/sessions"
"github.com/cgrates/cgrates/engine"
@@ -136,7 +137,7 @@ func testSessionSRplcApierGetActiveSessionsNotFound(t *testing.T) {
}
func testSessionSRplcApierSetChargerS(t *testing.T) {
chargerProfile1 := &engine.ChargerProfileWithAPIOpts{
chargerProfile1 := &v1.ChargerWithAPIOpts{
ChargerProfile: &engine.ChargerProfile{
Tenant: "cgrates.org",
ID: "Default",
@@ -152,7 +153,7 @@ func testSessionSRplcApierSetChargerS(t *testing.T) {
t.Error("Unexpected reply returned", result1)
}
chargerProfile2 := &engine.ChargerProfileWithAPIOpts{
chargerProfile2 := &v1.ChargerWithAPIOpts{
ChargerProfile: &engine.ChargerProfile{
Tenant: "cgrates.org",
ID: "Default",