diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2023-10-18 23:03:10 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-18 15:03:10 +0000 |
commit | 9852c92e9a633fdd318fde5014a12ef299b990ef (patch) | |
tree | f4d196a7695cc6adc7f8ed8d4c822f01c567c396 /tests/integration/api_repo_test.go | |
parent | 83186eca80d2b1586c1a46ff238de32e5a448f95 (diff) | |
download | gitea-9852c92e9a633fdd318fde5014a12ef299b990ef.tar.gz gitea-9852c92e9a633fdd318fde5014a12ef299b990ef.zip |
Remove unnecessary parameter (#27671)
Diffstat (limited to 'tests/integration/api_repo_test.go')
-rw-r--r-- | tests/integration/api_repo_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/integration/api_repo_test.go b/tests/integration/api_repo_test.go index d1d6696164..fa159c6c5b 100644 --- a/tests/integration/api_repo_test.go +++ b/tests/integration/api_repo_test.go @@ -541,7 +541,7 @@ func TestAPIRepoTransfer(t *testing.T) { // cleanup repo := unittest.AssertExistsAndLoadBean(t, &repo_model.Repository{ID: apiRepo.ID}) - _ = repo_service.DeleteRepositoryDirectly(db.DefaultContext, user, repo.OwnerID, repo.ID) + _ = repo_service.DeleteRepositoryDirectly(db.DefaultContext, user, repo.ID) } func transfer(t *testing.T) *repo_model.Repository { |