From f10328bd188f5d05be0a6e68d51c8ed0c238ae49 Mon Sep 17 00:00:00 2001 From: David Fridrich Date: Mon, 25 Nov 2024 15:45:27 +0100 Subject: [PATCH] fix test Signed-off-by: David Fridrich --- pkg/pipelines/tekton/gitlab_test.go | 2 +- pkg/pipelines/tekton/pipelines_integration_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/pipelines/tekton/gitlab_test.go b/pkg/pipelines/tekton/gitlab_test.go index 96c82d497a..fc97a77896 100644 --- a/pkg/pipelines/tekton/gitlab_test.go +++ b/pkg/pipelines/tekton/gitlab_test.go @@ -102,7 +102,7 @@ func TestGitlab(t *testing.T) { t.Fatal(err) } - credentialsProvider := func(ctx context.Context, image string) (docker.Credentials, error) { + credentialsProvider := func(ctx context.Context, f fn.Function) (docker.Credentials, error) { return docker.Credentials{ Username: "", Password: "", diff --git a/pkg/pipelines/tekton/pipelines_integration_test.go b/pkg/pipelines/tekton/pipelines_integration_test.go index 22e6cdf655..b19c8749e6 100644 --- a/pkg/pipelines/tekton/pipelines_integration_test.go +++ b/pkg/pipelines/tekton/pipelines_integration_test.go @@ -34,7 +34,7 @@ import ( . "knative.dev/func/pkg/testing" ) -var testCP = func(_ context.Context, _ string) (docker.Credentials, error) { +var testCP = func(_ context.Context, _ fn.Function) (docker.Credentials, error) { return docker.Credentials{ Username: "", Password: "",