UpdateRepositoryUnits was moved to repo_service by a refactor that was not cherry-picked. (Fix schedule tasks bugs (#28691) (#28780))
This commit is contained in:
parent
2051763969
commit
df98757424
1 changed files with 1 additions and 1 deletions
|
@ -220,7 +220,7 @@ func TestCreateDeleteRefEvent(t *testing.T) {
|
|||
assert.NotEmpty(t, repo)
|
||||
|
||||
// enable actions
|
||||
err = repo_service.UpdateRepositoryUnits(db.DefaultContext, repo, []repo_model.RepoUnit{{
|
||||
err = repo_model.UpdateRepositoryUnits(repo, []repo_model.RepoUnit{{
|
||||
RepoID: repo.ID,
|
||||
Type: unit_model.TypeActions,
|
||||
}}, nil)
|
||||
|
|
Loading…
Reference in a new issue