From a4f727f1f434cd53b59ab042874868429c896c04 Mon Sep 17 00:00:00 2001 From: Chris Trombley Date: Thu, 13 May 2021 14:40:32 -0700 Subject: [PATCH] chore(diagnose): clean up mock recipe validator contract --- internal/install/validation/mock_recipe_validator.go | 8 -------- 1 file changed, 8 deletions(-) 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