Skip to content

Commit

Permalink
disable allkeys test in v1
Browse files Browse the repository at this point in the history
REST API can only work in one version.

Signed-off-by: Tonis Tiigi <[email protected]>
  • Loading branch information
tonistiigi committed Feb 6, 2025
1 parent c115fdc commit 40d7f30
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions allkeys_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ func TestAllKeys(t *testing.T) {
t.SkipNow()
}

if !c.IsV2 {
t.Skip("rest API is only enabled for v2 in this repo")
}

api, err := NewRestAPI(ghRepo, ghToken, Opt{})
require.NoError(t, err)

Expand Down

0 comments on commit 40d7f30

Please sign in to comment.