X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=pkg%2Fcontrol%2Fut_messaging_test.go;h=4fdb60510018d80c433def6808fa29329376f2f3;hb=refs%2Fheads%2Fdawn;hp=dff639e2029e25c84f63c5b2111620f3f1266d15;hpb=27bba84fdbebf215a9ebabe3b7e2a31cb579e669;p=ric-plt%2Fsubmgr.git diff --git a/pkg/control/ut_messaging_test.go b/pkg/control/ut_messaging_test.go index dff639e..4fdb605 100644 --- a/pkg/control/ut_messaging_test.go +++ b/pkg/control/ut_messaging_test.go @@ -39,7 +39,7 @@ func TestSuiteSetup(t *testing.T) { SetPackerIf(e2ap_wrapper.NewUtAsn1E2APPacker()) - restDuplicateCtrl.Init() + mainCtrl.c.restDuplicateCtrl.Init() } @@ -2370,6 +2370,11 @@ func TestPostEmptyDb(t *testing.T) { mainCtrl.sendPostRequest(t, "localhost:8080", "/ric/v1/test/emptydb") } +func TestGetRestSubscriptions(t *testing.T) { + + mainCtrl.sendGetRequest(t, "localhost:8080", "/ric/v1/restsubscriptions") +} + //----------------------------------------------------------------------------- // TestRESTSubReqAndRouteNok //