Update agents/kamevent_test.go

This commit is contained in:
TeoV
2018-04-24 09:30:15 -04:00
committed by Dan Christian Bogos
parent 66909f9eeb
commit 3a3989c507

View File

@@ -95,6 +95,7 @@ func TestKamEvAsMapStringInterface(t *testing.T) {
expMp["from_tag"] = "bf71ad59"
expMp["to_tag"] = "7351fecf"
expMp["cgr_reqtype"] = utils.META_POSTPAID
expMp[utils.EVENT_NAME] = utils.KamailioAgent
rcv := kamEv.AsMapStringInterface()
if !reflect.DeepEqual(expMp, rcv) {
t.Errorf("Expecting: %+v, received: %+v", expMp, rcv)