mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 10:06:24 +05:00
Revert "Move CGREvent from utils to engine"
This reverts commit 02195c47ed.
This commit is contained in:
committed by
Dan Christian Bogos
parent
0c99cf1df5
commit
0aea8ac641
@@ -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, engine.CGREvent{}, &reply); err == nil || err.Error() != expected {
|
||||
if err := rpc.Call(context.Background(), utils.AttributeSv1Ping, utils.CGREvent{}, &reply); err == nil || err.Error() != expected {
|
||||
t.Errorf("Expected %+v, received %+v", expected, err)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user