diff options
Diffstat (limited to 'models/pull_test.go')
-rw-r--r-- | models/pull_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/pull_test.go b/models/pull_test.go index 325818e0bf..153739f540 100644 --- a/models/pull_test.go +++ b/models/pull_test.go @@ -182,7 +182,7 @@ func TestPullRequest_UpdateCols(t *testing.T) { BaseBranch: "baseBranch", HeadBranch: "headBranch", } - pr.UpdateCols("head_branch") + assert.NoError(t, pr.UpdateCols("head_branch")) pr = AssertExistsAndLoadBean(t, &PullRequest{ID: 1}).(*PullRequest) assert.Equal(t, "master", pr.BaseBranch) |