From fc0d0210c0cfcc37d5f45f8f3a92893690c5b587 Mon Sep 17 00:00:00 2001 From: Meredith Lancaster Date: Mon, 13 Jan 2025 12:21:27 -0700 Subject: [PATCH] remove old tests Signed-off-by: Meredith Lancaster --- pkg/cmd/attestation/api/client_test.go | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/pkg/cmd/attestation/api/client_test.go b/pkg/cmd/attestation/api/client_test.go index b93d53b70..77cd22ee6 100644 --- a/pkg/cmd/attestation/api/client_test.go +++ b/pkg/cmd/attestation/api/client_test.go @@ -42,24 +42,6 @@ func NewClientWithMockGHClient(hasNextPage bool) Client { } } -//func TestGetURL(t *testing.T) { -// c := LiveClient{} -// -// testData := []struct { -// repo string -// digest string -// expected string -// }{ -// {repo: "/github/example/", digest: "sha256:12313213", expected: "repos/github/example/attestations/sha256:12313213"}, -// {repo: "/github/example", digest: "sha256:12313213", expected: "repos/github/example/attestations/sha256:12313213"}, -// } -// -// for _, data := range testData { -// s := c.BuildRepoAndDigestURL(data.repo, data.digest) -// require.Equal(t, data.expected, s) -// } -//} - func TestGetByDigest(t *testing.T) { c := NewClientWithMockGHClient(false) attestations, err := c.GetByRepoAndDigest(testRepo, testDigest, DefaultLimit)