1 parent
c6071414df
commit
cc47447ddd
4 files changed
+13
-8
No files matched your search
@@ -109,7 +109,7 @@ func TestManagementEndpointCatalog(t *testing.T) {
|
||||
}
|
||||
}
|
||||
endpoint, ok := LookupEndpoint("POST", "/api/plugin/settings/example")
|
||||
if !ok || endpoint.Capability != CapabilityPluginWriteOwn {
|
||||
if !ok || endpoint.Capability != CapabilityPluginReadGlobal {
|
||||
t.Fatal("plugin settings endpoint was not matched")
|
||||
}
|
||||
endpoint, ok = LookupEndpoint("GET", "/api/v1/logs")
|
||||
|
||||
Reference in new issue
Block a user