X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=pkg%2Fnbi%2Fhttpgetter_test.go;h=0080a843b5dfcc3699718f8ce72a74cbe1787e22;hb=126ce868f3688e0f859ab2ba4823d6d662fe568a;hp=5c7082a6f23c6eb26be98934506de3ef80ef37c4;hpb=aaf8d396257a455247b24716a32b05fc3fd145c2;p=ric-plt%2Frtmgr.git diff --git a/pkg/nbi/httpgetter_test.go b/pkg/nbi/httpgetter_test.go index 5c7082a..0080a84 100644 --- a/pkg/nbi/httpgetter_test.go +++ b/pkg/nbi/httpgetter_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). + ================================================================================== */ /* @@ -28,12 +33,12 @@ import ( "net" "net/http" "net/http/httptest" - "routing-manager/pkg/rtmgr" "testing" ) var ( XMURL = "http://127.0.0.1:3000/ric/v1/xapps" + E2MURL = "http://127.0.0.1:8080/ric/v1/e2t/list" ) func TestFetchXappListInvalidData(t *testing.T) { @@ -46,7 +51,6 @@ func TestFetchXappListInvalidData(t *testing.T) { func TestFetchXappListWithInvalidData(t *testing.T) { var expected = 0 - rtmgr.SetLogLevel("debug") b := []byte(`{"ID":"deadbeef1234567890", "Version":0, "EventType":"all"}`) l, err := net.Listen("tcp", "127.0.0.1:3000") if err != nil {