From ccf723a6071bf0e3caab8f3f5865dc48d482d357 Mon Sep 17 00:00:00 2001 From: Scott Date: Mon, 14 Jun 2021 09:38:41 -0400 Subject: [PATCH] Use tektoncd/results repo for git-init symbolic ref tests Prior to this commit we were pointing one of our integration tests at a Spring project repo. We did this to test our git-init code with a repo that uses "main" as its main branch instead of "master". Now that we have switched many/all of our repos over to "main" instead of "master" we can use them for testing instead. This means we haven't tied our tests to an external third party repo that might change / be removed without our realizing it. --- test/git_checkout_test.go | 4 ++-- test/v1alpha1/git_checkout_test.go | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/git_checkout_test.go b/test/git_checkout_test.go index 2715023ad67..adbe37d3df1 100644 --- a/test/git_checkout_test.go +++ b/test/git_checkout_test.go @@ -89,11 +89,11 @@ func TestGitPipelineRun(t *testing.T) { sslVerify: "false", }, { name: "non-master repo with default revision", - repo: "https://github.com/spring-projects/spring-petclinic", + repo: "https://github.com/tektoncd/results", revision: "", }, { name: "non-master repo with main revision", - repo: "https://github.com/spring-projects/spring-petclinic", + repo: "https://github.com/tektoncd/results", revision: "main", }} { tc := tc // capture range variable diff --git a/test/v1alpha1/git_checkout_test.go b/test/v1alpha1/git_checkout_test.go index f88b5ea0c3e..8378f23db8b 100644 --- a/test/v1alpha1/git_checkout_test.go +++ b/test/v1alpha1/git_checkout_test.go @@ -87,11 +87,11 @@ func TestGitPipelineRun(t *testing.T) { sslVerify: "false", }, { name: "non-master repo with default revision", - repo: "https://github.com/spring-projects/spring-petclinic", + repo: "https://github.com/tektoncd/results", revision: "", }, { name: "non-master repo with main revision", - repo: "https://github.com/spring-projects/spring-petclinic", + repo: "https://github.com/tektoncd/results", revision: "main", }} { tc := tc // capture range variable