diff options
author | Amine Hilaly <hilalyamine@gmail.com> | 2019-07-22 00:13:47 +0200 |
---|---|---|
committer | Amine Hilaly <hilalyamine@gmail.com> | 2019-07-23 17:18:04 +0200 |
commit | b27647c7a0dd95fdbbe4d22962129615fc5c9325 (patch) | |
tree | 285303bbb522f90266ac99cf7f5a196bbafd0843 /bridge/gitlab/import_test.go | |
parent | b18507836cd1716ba842e82eb8d42c82b8d62d71 (diff) | |
download | git-bug-b27647c7a0dd95fdbbe4d22962129615fc5c9325.tar.gz |
bridge/gitlab: Fix test project path
bridge/gitlab: update comments
Diffstat (limited to 'bridge/gitlab/import_test.go')
-rw-r--r-- | bridge/gitlab/import_test.go | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/bridge/gitlab/import_test.go b/bridge/gitlab/import_test.go index 4a49cfe9..c38d3ce3 100644 --- a/bridge/gitlab/import_test.go +++ b/bridge/gitlab/import_test.go @@ -26,7 +26,7 @@ func TestImport(t *testing.T) { }{ { name: "simple issue", - url: "https://gitlab.com/a-hilaly/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), @@ -37,7 +37,7 @@ func TestImport(t *testing.T) { }, { name: "empty issue", - url: "https://gitlab.com/a-hilaly/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), @@ -46,7 +46,7 @@ func TestImport(t *testing.T) { }, { name: "complex issue", - url: "https://gitlab.com/a-hilaly/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), @@ -63,7 +63,7 @@ func TestImport(t *testing.T) { }, { name: "editions", - url: "https://gitlab.com/a-hilaly/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), @@ -113,7 +113,7 @@ func TestImport(t *testing.T) { require.NoError(t, err) ops := b.Snapshot().Operations - assert.Len(t, tt.bug.Operations, len(ops)) + require.Len(t, tt.bug.Operations, len(ops)) for i, op := range tt.bug.Operations { |