X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=capifcore%2Fmain_test.go;h=f3a5f1538feb086e54cc55d29b2345ddc42cb059;hb=fe5863c7537e25426382bd1e376882c5c7d81a4a;hp=12092c1b28c795eaa5192ee0df478aeb5e7dcbfc;hpb=b4da1f981ba6717f5ec52e15ad1db257b5d6b7f3;p=nonrtric%2Fplt%2Fsme.git diff --git a/capifcore/main_test.go b/capifcore/main_test.go index 12092c1..f3a5f15 100644 --- a/capifcore/main_test.go +++ b/capifcore/main_test.go @@ -85,6 +85,14 @@ func Test_routing(t *testing.T) { method: "DELETE", }, }, + { + name: "Event path", + args: args{ + url: "/capif-events/v1/subscriberId/subscriptions/subId", + returnStatus: http.StatusNoContent, + method: "DELETE", + }, + }, { name: "Security path", args: args{ @@ -140,6 +148,13 @@ func TestGetSwagger(t *testing.T) { apiName: "Invoker", }, }, + { + name: "Events api", + args: args{ + apiPath: "events", + apiName: "Events", + }, + }, { name: "Discover api", args: args{