package xapp
import (
+ apimodel "gerrit.o-ran-sc.org/r/ric-plt/xapp-frame/pkg/clientmodel"
+ "gerrit.o-ran-sc.org/r/ric-plt/xapp-frame/pkg/models"
+ "github.com/stretchr/testify/assert"
"testing"
"time"
- "github.com/stretchr/testify/assert"
- "gerrit.o-ran-sc.org/r/ric-plt/xapp-frame/pkg/models"
- apimodel "gerrit.o-ran-sc.org/r/ric-plt/xapp-frame/pkg/clientmodel"
)
var suite *testing.T
EventTriggers: apimodel.EventTriggerList{
&apimodel.EventTrigger{
InterfaceDirection: &direction,
- ProcedureCode: &procedureCode,
- TypeOfMessage: &typeOfMessage,
+ ProcedureCode: &procedureCode,
+ TypeOfMessage: &typeOfMessage,
},
},
}
resp := models.SubscriptionList{
&models.SubscriptionData{
SubscriptionID: 11,
- Meid: "Test-Gnb",
- Endpoint: []string{"127.0.0.1:4056"},
+ Meid: "Test-Gnb",
+ Endpoint: []string{"127.0.0.1:4056"},
},
}
assert.Equal(t, err, nil)
assert.Equal(t, len(result), 3)
assert.Equal(t, result[0], int64(11))
-}
\ No newline at end of file
+}