Add missing mtypes
Change-Id: I38865d75a51a93b4f2d88c42920b9080e3e24da2
Signed-off-by: Mohamed Abukar <abukar.mohamed@nokia.com>
diff --git a/pkg/xapp/xapp_test.go b/pkg/xapp/xapp_test.go
index 65c6b98..1aacc5e 100755
--- a/pkg/xapp/xapp_test.go
+++ b/pkg/xapp/xapp_test.go
@@ -33,7 +33,7 @@
}
func (m Consumer) Consume(params *RMRParams) (err error) {
- //Logger.Info("Message received - type=%d subId=%d meid=%v xid=%s src=%s", params.Mtype, params.SubId, params.Meid, params.Xid, params.Src)
+ //Logger.Info("Message received - type=%d subId=%d meid=%v xid=%s src=%s", params.Mtype, params.SubId, params.Meid.RanName, params.Xid, params.Src)
Sdl.Store("myKey", params.Payload)
return nil
}
@@ -105,7 +105,7 @@
params.Mtype = 10004
params.SubId = -1
params.Payload = []byte{1, 2, 3, 4, 5, 6}
- params.Meid = &RMRMeid{PlmnID: "1234", EnbID: "7788"}
+ params.Meid = &RMRMeid{PlmnID: "1234", EnbID: "7788", RanName: "RanName-1234"}
params.Xid = "TestXID"
Rmr.SendMsg(params)
}