remove old tests
Signed-off-by: Meredith Lancaster <malancas@github.com>
This commit is contained in:
parent
5462582401
commit
fc0d0210c0
1 changed files with 0 additions and 18 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue