aboutsummaryrefslogtreecommitdiffstats
path: root/bridge/gitlab/import_test.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2020-03-28 17:11:16 +0100
committerGitHub <noreply@github.com>2020-03-28 17:11:16 +0100
commit58abc6b0a35b679ac0c34579ff1cb53c8fa71af4 (patch)
treea2a9556a580d21f1850c06eeb591a44acc0d2373 /bridge/gitlab/import_test.go
parent5491d12873732d05d2f08cfe784985eee6e41a20 (diff)
parenta8666bfeb8255c2a0a9eed55ba143d65237febbf (diff)
downloadgit-bug-58abc6b0a35b679ac0c34579ff1cb53c8fa71af4.tar.gz
Merge pull request #358 from MichaelMure/gitlab-tests
gitlab: fix issues import url
Diffstat (limited to 'bridge/gitlab/import_test.go')
-rw-r--r--bridge/gitlab/import_test.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/bridge/gitlab/import_test.go b/bridge/gitlab/import_test.go
index f916d20c..42a37cda 100644
--- a/bridge/gitlab/import_test.go
+++ b/bridge/gitlab/import_test.go
@@ -29,7 +29,7 @@ func TestImport(t *testing.T) {
}{
{
name: "simple issue",
- url: "https://gitlab.com/git-bug/test/issues/1",
+ url: "https://gitlab.com/git-bug/test/-/issues/1",
bug: &bug.Snapshot{
Operations: []bug.Operation{
bug.NewCreateOp(author, 0, "simple issue", "initial comment", nil),
@@ -40,7 +40,7 @@ func TestImport(t *testing.T) {
},
{
name: "empty issue",
- url: "https://gitlab.com/git-bug/test/issues/2",
+ url: "https://gitlab.com/git-bug/test/-/issues/2",
bug: &bug.Snapshot{
Operations: []bug.Operation{
bug.NewCreateOp(author, 0, "empty issue", "", nil),
@@ -49,7 +49,7 @@ func TestImport(t *testing.T) {
},
{
name: "complex issue",
- url: "https://gitlab.com/git-bug/test/issues/3",
+ url: "https://gitlab.com/git-bug/test/-/issues/3",
bug: &bug.Snapshot{
Operations: []bug.Operation{
bug.NewCreateOp(author, 0, "complex issue", "initial comment", nil),
@@ -66,7 +66,7 @@ func TestImport(t *testing.T) {
},
{
name: "editions",
- url: "https://gitlab.com/git-bug/test/issues/4",
+ url: "https://gitlab.com/git-bug/test/-/issues/4",
bug: &bug.Snapshot{
Operations: []bug.Operation{
bug.NewCreateOp(author, 0, "editions", "initial comment edited", nil),