refactor(scum): use runtime capability probes
This commit is contained in:
@@ -13,7 +13,7 @@ func TestDispatcherIntegrationContainsUnsafeAndUnavailableCommands(t *testing.T)
|
||||
stamp := time.Now().UTC()
|
||||
adapter := &adapterFixture{}
|
||||
registry := NewHandlerRegistry(HandlerAvailability{
|
||||
BoundServerID: "server-1", ServerVersion: "0.9.700.90357", Approved: true,
|
||||
BoundServerID: "server-1", Approved: true,
|
||||
Capabilities: map[string]bool{"config.read": true},
|
||||
}, adapter)
|
||||
fixture := &dispatchFixture{commands: []ClaimedCommand{
|
||||
|
||||
Reference in New Issue
Block a user