From ecf092442aeb0a25e8958b4910a0569b1e18a184 Mon Sep 17 00:00:00 2001 From: Herlon Aguiar Date: Wed, 23 Mar 2022 22:47:29 +0100 Subject: [PATCH] scm: fixed github test --- pkg/scm/github_test.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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) }