diff options
Diffstat (limited to 'modules/convert/pull_test.go')
-rw-r--r-- | modules/convert/pull_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/convert/pull_test.go b/modules/convert/pull_test.go index b78bbe87c9..adf42d8ca4 100644 --- a/modules/convert/pull_test.go +++ b/modules/convert/pull_test.go @@ -27,7 +27,7 @@ func TestPullRequest_APIFormat(t *testing.T) { Ref: "refs/pull/2/head", Sha: "4a357436d925b5c974181ff12a994538ddc5a269", RepoID: 1, - Repository: headRepo.APIFormat(models.AccessModeNone), + Repository: ToRepo(headRepo, models.AccessModeNone), }, apiPullRequest.Head) //withOut HeadRepo |