diff options
author | Michael Muré <batolettre@gmail.com> | 2020-02-12 18:32:01 +0100 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2020-02-12 23:37:57 +0100 |
commit | 34083de0df5187caed3f788c1dcedf7196180206 (patch) | |
tree | 62f550b068f7dea989cfd232385181b5f6eba105 /bridge/github/import_test.go | |
parent | 9f3618d886d461ea806468a8c690a4a303d66d9b (diff) | |
download | git-bug-34083de0df5187caed3f788c1dcedf7196180206.tar.gz |
auth: refactor and introduce Login and LoginPassword, salt IDs
Diffstat (limited to 'bridge/github/import_test.go')
-rw-r--r-- | bridge/github/import_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bridge/github/import_test.go b/bridge/github/import_test.go index a8f8e346..7eb901d3 100644 --- a/bridge/github/import_test.go +++ b/bridge/github/import_test.go @@ -144,7 +144,7 @@ func Test_Importer(t *testing.T) { login := "test-identity" author.SetMetadata(metaKeyGithubLogin, login) - token := auth.NewToken(envToken, target) + token := auth.NewToken(target, envToken) token.SetMetadata(auth.MetaKeyLogin, login) err = auth.Store(repo, token) require.NoError(t, err) |