From df987574241005093e301f0bcea8ecf70cf9aaad Mon Sep 17 00:00:00 2001 From: Earl Warren Date: Thu, 21 Mar 2024 17:27:02 +0100 Subject: [PATCH] Fix invalid link of the commit status when ref is tag (#29752) (#29908) (step 2) UpdateRepositoryUnits was moved to repo_service by a refactor that was not cherry-picked. (Fix schedule tasks bugs (#28691) (#28780)) --- tests/integration/actions_trigger_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/actions_trigger_test.go b/tests/integration/actions_trigger_test.go index 1a207c93d5..1e8829112f 100644 --- a/tests/integration/actions_trigger_test.go +++ b/tests/integration/actions_trigger_test.go @@ -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)