From 3a4b8805dfd794cc25f57e99c73ddec651805af1 Mon Sep 17 00:00:00 2001 From: Michael Muré Date: Sun, 25 Aug 2024 20:40:23 +0200 Subject: 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 --- bridge/gitlab/import_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bridge/gitlab/import_test.go') 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"}), }, }, }, -- cgit