aboutsummaryrefslogtreecommitdiffstats
path: root/bridge/gitlab/import_test.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2024-08-25 20:40:23 +0200
committerGitHub <noreply@github.com>2024-08-25 18:40:23 +0000
commit3a4b8805dfd794cc25f57e99c73ddec651805af1 (patch)
treeb6af67c761c96b323400d061db22ceed73fb0bb0 /bridge/gitlab/import_test.go
parentc3ff05f95bdfad6c2ea4cb899024fd47ac503b5f (diff)
downloadgit-bug-3a4b8805dfd794cc25f57e99c73ddec651805af1.tar.gz
core: make label a common type, in a similar fashion as for status (#1252)
This will be useful for Board, and likely code review support later
Diffstat (limited to 'bridge/gitlab/import_test.go')
-rw-r--r--bridge/gitlab/import_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/bridge/gitlab/import_test.go b/bridge/gitlab/import_test.go
index 2190369b..56feee46 100644
--- a/bridge/gitlab/import_test.go
+++ b/bridge/gitlab/import_test.go
@@ -78,9 +78,9 @@ func TestGitlabImport(t *testing.T) {
bug.NewSetTitleOp(author, 0, "complex issue", "complex issue edited"),
bug.NewSetStatusOp(author, 0, common.ClosedStatus),
bug.NewSetStatusOp(author, 0, common.OpenStatus),
- bug.NewLabelChangeOperation(author, 0, []bug.Label{"bug"}, []bug.Label{}),
- bug.NewLabelChangeOperation(author, 0, []bug.Label{"critical"}, []bug.Label{}),
- bug.NewLabelChangeOperation(author, 0, []bug.Label{}, []bug.Label{"critical"}),
+ bug.NewLabelChangeOperation(author, 0, []common.Label{"bug"}, []common.Label{}),
+ bug.NewLabelChangeOperation(author, 0, []common.Label{"critical"}, []common.Label{}),
+ bug.NewLabelChangeOperation(author, 0, []common.Label{}, []common.Label{"critical"}),
},
},
},