Skip to content

Commit

Permalink
Update test for release paging
Browse files Browse the repository at this point in the history
This resolves the issue for the next 5 releases

Signed-off-by: Marco Franssen <marco.franssen@philips.com>
  • Loading branch information
marcofranssen committed Jan 14, 2022
1 parent 598f792 commit 43d7a70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/github/releases_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ func TestListReleases(t *testing.T) {
api := "https://api.github.com/repos/philips-labs/slsa-provenance-action/releases"

client, requestLogger := createReleaseClient(ctx)
opt := gh.ListOptions{PerPage: 4}
opt := gh.ListOptions{PerPage: 5}
releases, err := client.ListReleases(ctx, owner, repo, opt)
if !assert.NoError(err) {
return
Expand Down

0 comments on commit 43d7a70

Please sign in to comment.