X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=pkg%2Fnbi%2Fnbi_test.go;h=29e6ee33b6c472d930150e3f2eec742e6a7f4be2;hb=761934a3d9f7a1426d1e14e34fb9a4c16599a237;hp=15a121fa83e0ba3a5009864776c5b686a7ae3dfa;hpb=179e88942cb2a7413240c08879f9d733c3f854db;p=ric-plt%2Frtmgr.git diff --git a/pkg/nbi/nbi_test.go b/pkg/nbi/nbi_test.go index 15a121f..29e6ee3 100644 --- a/pkg/nbi/nbi_test.go +++ b/pkg/nbi/nbi_test.go @@ -14,6 +14,11 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. + + + This source code is part of the near-RT RIC (RAN Intelligent Controller) + platform project (RICP). + ================================================================================== */ /* @@ -26,13 +31,14 @@ package nbi import ( "errors" - "github.com/go-openapi/swag" "net" "net/http" "net/http/httptest" "reflect" "routing-manager/pkg/appmgr_model" "testing" + + "github.com/go-openapi/swag" ) func TestGetNbi(t *testing.T) { @@ -62,9 +68,9 @@ func TestCreateSubReq(t *testing.T) { MaxRetries: swag.Int64(5), RetryTimer: swag.Int64(10), } - subReq := appmgr_model.SubscriptionRequest{ - Data: &subData, - } + subReq := appmgr_model.SubscriptionRequest{ + Data: &subData, + } subReq2 := CreateSubReq("localhost", "8000") if reflect.TypeOf(subReq) != reflect.TypeOf(*subReq2) { t.Errorf("Invalid type, got: %v, want: %v.", reflect.TypeOf(subReq), reflect.TypeOf(*subReq2))