Fixed failing test cases
[ric-plt/rtmgr.git] / pkg / sbi / nngpush_test.go
index 740f5e8..f2f8fe1 100644 (file)
@@ -151,8 +151,8 @@ func TestDeleteEndpoint(t *testing.T) {
 func TestCreateEndpoint(t *testing.T) {
        var rmrpush = RmrPush{}
        resetTestPushDataset(rmrpush, stub.ValidEndpoints1)
-        rmrpush.CreateEndpoint("192.168.0.1:0")
-        rmrpush.CreateEndpoint("localhost:4560")
+       rmrpush.CreateEndpoint("192.168.0.1:0","Src=192.168.0.1:4561")
+       rmrpush.CreateEndpoint("localhost:4560","Src=localhost:4561")
 }
 /*
 Initialize and send policies