Code Review
/
nonrtric
/
plt
/
sme.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Improve locking/unlocking
[nonrtric/plt/sme.git]
/
capifcore
/
main_test.go
diff --git
a/capifcore/main_test.go
b/capifcore/main_test.go
index
12092c1
..
f3a5f15
100644
(file)
--- a/
capifcore/main_test.go
+++ b/
capifcore/main_test.go
@@
-85,6
+85,14
@@
func Test_routing(t *testing.T) {
method: "DELETE",
},
},
method: "DELETE",
},
},
+ {
+ name: "Event path",
+ args: args{
+ url: "/capif-events/v1/subscriberId/subscriptions/subId",
+ returnStatus: http.StatusNoContent,
+ method: "DELETE",
+ },
+ },
{
name: "Security path",
args: args{
{
name: "Security path",
args: args{
@@
-140,6
+148,13
@@
func TestGetSwagger(t *testing.T) {
apiName: "Invoker",
},
},
apiName: "Invoker",
},
},
+ {
+ name: "Events api",
+ args: args{
+ apiPath: "events",
+ apiName: "Events",
+ },
+ },
{
name: "Discover api",
args: args{
{
name: "Discover api",
args: args{