Skip to content

Commit

Permalink
chore(diagnose): clean up mock recipe validator contract
Browse files Browse the repository at this point in the history
  • Loading branch information
ctrombley committed May 13, 2021
1 parent f46290e commit a4f727f
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions internal/install/validation/mock_recipe_validator.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,7 @@ func NewMockRecipeValidator() *MockRecipeValidator {
return &MockRecipeValidator{}
}

func (m *MockRecipeValidator) ValidateQuery(ctx context.Context, query string) (string, error) {
return m.validate(ctx)
}

func (m *MockRecipeValidator) ValidateRecipe(ctx context.Context, dm types.DiscoveryManifest, r types.OpenInstallationRecipe) (string, error) {
return m.validate(ctx)
}

func (m *MockRecipeValidator) validate(ctx context.Context) (string, error) {
m.ValidateCallCount++

var err error
Expand Down

0 comments on commit a4f727f

Please sign in to comment.