diff options
author | Michael Muré <batolettre@gmail.com> | 2020-02-10 01:29:51 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-10 01:29:51 +0100 |
commit | 9f3618d886d461ea806468a8c690a4a303d66d9b (patch) | |
tree | 9d941dd499a3bffbbba3295c58a6b77b5b6feeca /bridge/gitlab/import_test.go | |
parent | 3caffeef4d2ed25d4eb5d4bfd262f4fc3b92561f (diff) | |
parent | bd7b50bc8638d3b6c776dd974de32a1ea385c835 (diff) | |
download | git-bug-9f3618d886d461ea806468a8c690a4a303d66d9b.tar.gz |
Merge pull request #317 from MichaelMure/bridges-improve
github/gitlab: many fixes and improvments at the config step
Diffstat (limited to 'bridge/gitlab/import_test.go')
-rw-r--r-- | bridge/gitlab/import_test.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bridge/gitlab/import_test.go b/bridge/gitlab/import_test.go index 3c0caa55..a300acf1 100644 --- a/bridge/gitlab/import_test.go +++ b/bridge/gitlab/import_test.go @@ -99,14 +99,15 @@ func TestImport(t *testing.T) { author.SetMetadata(metaKeyGitlabLogin, login) token := auth.NewToken(envToken, target) - token.SetMetadata(metaKeyGitlabLogin, login) + token.SetMetadata(auth.MetaKeyLogin, login) + token.SetMetadata(auth.MetaKeyBaseURL, defaultBaseURL) err = auth.Store(repo, token) require.NoError(t, err) importer := &gitlabImporter{} err = importer.Init(backend, core.Configuration{ keyProjectID: projectID, - keyGitlabBaseUrl: "https://gitlab.com", + keyGitlabBaseUrl: defaultBaseURL, }) require.NoError(t, err) |