Fix X2 setup route
[ric-plt/rtmgr.git] / pkg / rpe / rmr_test.go
index bdbeff4..7ba59a6 100644 (file)
@@ -31,23 +31,12 @@ import (
 
 func resetTestDataset(testdata []rtmgr.Endpoint) {
        rtmgr.Eps = make(map[string]*rtmgr.Endpoint)
-       for _, endpoint := range stub.ValidEndpoints {
+       for _, endpoint := range testdata {
                ep := endpoint
                rtmgr.Eps[ep.Uuid] = &ep
        }
 }
 
-/*
-RmrPub.GeneratePolicies() method is tested for happy path case
-*/
-func TestRmrPubGeneratePolicies(t *testing.T) {
-       var rmrpub = RmrPub{}
-       resetTestDataset(stub.ValidEndpoints)
-
-       rawrt := rmrpub.GeneratePolicies(rtmgr.Eps)
-       t.Log(rawrt)
-}
-
 /*
 RmrPush.GeneratePolicies() method is tested for happy path case
 */