Move CGREvent from utils to engine

This commit is contained in:
ionutboangiu
2024-02-26 06:01:43 -05:00
committed by Dan Christian Bogos
parent 158dce7323
commit 02195c47ed
321 changed files with 3695 additions and 3693 deletions

View File

@@ -699,7 +699,7 @@ func testAcceptBiRPC(t *testing.T) {
rpc := jsonrpc.NewClient(p2)
var reply string
expected := "birpc: can't find method AttributeSv1.Ping"
if err := rpc.Call(context.Background(), utils.AttributeSv1Ping, utils.CGREvent{}, &reply); err == nil || err.Error() != expected {
if err := rpc.Call(context.Background(), utils.AttributeSv1Ping, engine.CGREvent{}, &reply); err == nil || err.Error() != expected {
t.Errorf("Expected %+v, received %+v", expected, err)
}