aboutsummaryrefslogtreecommitdiffstats
path: root/routers/web/repo/issue_label_test.go
diff options
context:
space:
mode:
authorwxiaoguang <wxiaoguang@gmail.com>2024-11-10 16:26:42 +0800
committerGitHub <noreply@github.com>2024-11-10 08:26:42 +0000
commit58c634b8549fb279aec72cecd6a48511803db067 (patch)
tree15f734f16ac5c4cf3a84301ec33dc968845f412b /routers/web/repo/issue_label_test.go
parentb55a31eb6a894feb5508e350ff5e9548b2531bd6 (diff)
downloadgitea-58c634b8549fb279aec72cecd6a48511803db067.tar.gz
gitea-58c634b8549fb279aec72cecd6a48511803db067.zip
Refactor sidebar label selector (#32460)
Introduce `issueSidebarLabelsData` to handle all sidebar labels related data.
Diffstat (limited to 'routers/web/repo/issue_label_test.go')
-rw-r--r--routers/web/repo/issue_label_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/web/repo/issue_label_test.go b/routers/web/repo/issue_label_test.go
index 93fc72300b..c86a03da51 100644
--- a/routers/web/repo/issue_label_test.go
+++ b/routers/web/repo/issue_label_test.go
@@ -62,7 +62,7 @@ func TestRetrieveLabels(t *testing.T) {
contexttest.LoadUser(t, ctx, 2)
contexttest.LoadRepo(t, ctx, testCase.RepoID)
ctx.Req.Form.Set("sort", testCase.Sort)
- RetrieveLabels(ctx)
+ RetrieveLabelsForList(ctx)
assert.False(t, ctx.Written())
labels, ok := ctx.Data["Labels"].([]*issues_model.Label)
assert.True(t, ok)