Skip to content

Commit

Permalink
Remove tmockCapability
Browse files Browse the repository at this point in the history
  • Loading branch information
cedric-cordenier committed Feb 1, 2024
1 parent 5d1fea6 commit 516b50e
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions core/capabilities/registry_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,6 @@ func (m *cmockCapability) Execute(ctx context.Context, callback chan capabilitie
return nil
}

type tmockCapability struct {
capabilities.CapabilityInfo
}

func (m *tmockCapability) RegisterTrigger(ctx context.Context, callback chan capabilities.CapabilityResponse, req capabilities.CapabilityRequest) error {
return nil
}

func (m *tmockCapability) UnregisterTrigger(ctx context.Context, req capabilities.CapabilityRequest) error {
return nil
}

func TestRegistry(t *testing.T) {
ctx := context.Background()

Expand Down

0 comments on commit 516b50e

Please sign in to comment.