Skip to content

Commit 6f6d956

Browse files
committed
Fix test
1 parent c9ce1cc commit 6f6d956

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/integration/pull_review_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ func Test_ReviewCodeComment(t *testing.T) {
495495
assert.Equal(t, "code comment on left line 2", commentLast.Content)
496496
assert.Equal(t, "README.md", commentLast.TreePath)
497497
assert.Equal(t, int64(-2), commentLast.Line)
498-
assert.Equal(t, pr.MergeBase, commentLast.CommitSHA)
498+
assert.Equal(t, pr.MergeBase, commentLast.BeforeCommitID)
499499

500500
// load the files page and confirm the comment's line number is dynamically adjusted
501501
filesPageURL = fmt.Sprintf("/user2/test_codecomment/pulls/%d/files", pr.Index)

0 commit comments

Comments
 (0)