diff --git a/pkg/scm/github_test.go b/pkg/scm/github_test.go index f5b02c5..821c864 100644 --- a/pkg/scm/github_test.go +++ b/pkg/scm/github_test.go @@ -54,9 +54,7 @@ func TestGithubPublishIssuesReview(t *testing.T) { }, } - reviewEvent := REVIEW_EVENT_REQUEST_CHANGES - - err := gh.PublishIssuesReviewFor(ctx, issues, pr, reviewEvent) + err := gh.PublishIssuesReviewFor(ctx, issues, pr, true) assert.NoError(t, err) }