aboutsummaryrefslogtreecommitdiffstats
path: root/models/issues/label_test.go
diff options
context:
space:
mode:
authorLauris BH <lauris@nix.lv>2023-03-02 01:44:23 +0200
committerGitHub <noreply@github.com>2023-03-02 01:44:23 +0200
commit58b414380371a4419f909491700673d43ae6b4ff (patch)
tree9d994ac5afecdf2109fe93d9ba97a12c201bd27e /models/issues/label_test.go
parentde6c718b46ebd3b7f6362c766eed328044d95ec7 (diff)
downloadgitea-58b414380371a4419f909491700673d43ae6b4ff.tar.gz
gitea-58b414380371a4419f909491700673d43ae6b4ff.zip
Add loading yaml label template files (#22976)
Extract from #11669 and enhancement to #22585 to support exclusive scoped labels in label templates * Move label template functionality to label module * Fix handling of color codes * Add Advanced label template
Diffstat (limited to 'models/issues/label_test.go')
-rw-r--r--models/issues/label_test.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/models/issues/label_test.go b/models/issues/label_test.go
index 0e45e0db0b..1f6ce4f42e 100644
--- a/models/issues/label_test.go
+++ b/models/issues/label_test.go
@@ -15,8 +15,6 @@ import (
"github.com/stretchr/testify/assert"
)
-// TODO TestGetLabelTemplateFile
-
func TestLabel_CalOpenIssues(t *testing.T) {
assert.NoError(t, unittest.PrepareTestDatabase())
label := unittest.AssertExistsAndLoadBean(t, &issues_model.Label{ID: 1})