diff options
author | Michael Muré <batolettre@gmail.com> | 2020-02-14 17:04:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-14 17:04:06 +0100 |
commit | 2df72942f2b057956c7873f908b64880ab647331 (patch) | |
tree | 7d2938f7185ed6843ddd1681429b9c4f9d1e7db6 /bridge/gitlab/export_test.go | |
parent | 10284903e9f56d32a45e42edeb51973756743074 (diff) | |
parent | 34083de0df5187caed3f788c1dcedf7196180206 (diff) | |
download | git-bug-2df72942f2b057956c7873f908b64880ab647331.tar.gz |
Merge pull request #321 from MichaelMure/cred-password
auth: refactor and introduce Login and LoginPassword, salt IDs
Diffstat (limited to 'bridge/gitlab/export_test.go')
-rw-r--r-- | bridge/gitlab/export_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bridge/gitlab/export_test.go b/bridge/gitlab/export_test.go index c97416d8..768b899c 100644 --- a/bridge/gitlab/export_test.go +++ b/bridge/gitlab/export_test.go @@ -162,7 +162,7 @@ func TestPushPull(t *testing.T) { defer backend.Close() interrupt.RegisterCleaner(backend.Close) - token := auth.NewToken(envToken, target) + token := auth.NewToken(target, envToken) token.SetMetadata(auth.MetaKeyLogin, login) token.SetMetadata(auth.MetaKeyBaseURL, defaultBaseURL) err = auth.Store(repo, token) |