Remove unnecessary parameter (#27671)
This commit is contained in:
parent
83186eca80
commit
9852c92e9a
8 changed files with 23 additions and 25 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue