diff --git a/internal/install/validation/mock_recipe_validator.go b/internal/install/validation/mock_recipe_validator.go index b44440886..528b93905 100644 --- a/internal/install/validation/mock_recipe_validator.go +++ b/internal/install/validation/mock_recipe_validator.go @@ -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