From 1633d12a90b1a0cf60ff72d2969fc664770abf57 Mon Sep 17 00:00:00 2001 From: ionutboangiu Date: Fri, 5 Mar 2021 13:40:51 +0200 Subject: [PATCH] Fix test for Clone func in utils/cgrevent.go --- utils/cgrevent_test.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/utils/cgrevent_test.go b/utils/cgrevent_test.go index baf6047f8..669acd26b 100644 --- a/utils/cgrevent_test.go +++ b/utils/cgrevent_test.go @@ -272,7 +272,9 @@ func TestCGREventClone(t *testing.T) { "PddInterval": "1s", "Weight": 20.0, }, - Opts: map[string]interface{}{}, + Opts: map[string]interface{}{ + "testKey": 12, + }, } cloned := ev.Clone() if !reflect.DeepEqual(ev, cloned) {