aboutsummaryrefslogtreecommitdiffstats
path: root/bridge/github/config_test.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2020-02-14 17:04:06 +0100
committerGitHub <noreply@github.com>2020-02-14 17:04:06 +0100
commit2df72942f2b057956c7873f908b64880ab647331 (patch)
tree7d2938f7185ed6843ddd1681429b9c4f9d1e7db6 /bridge/github/config_test.go
parent10284903e9f56d32a45e42edeb51973756743074 (diff)
parent34083de0df5187caed3f788c1dcedf7196180206 (diff)
downloadgit-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/github/config_test.go')
-rw-r--r--bridge/github/config_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/bridge/github/config_test.go b/bridge/github/config_test.go
index d7b1b38d..fe54c209 100644
--- a/bridge/github/config_test.go
+++ b/bridge/github/config_test.go
@@ -154,8 +154,8 @@ func TestValidateProject(t *testing.T) {
t.Skip("Env var GITHUB_TOKEN_PUBLIC missing")
}
- tokenPrivate := auth.NewToken(envPrivate, target)
- tokenPublic := auth.NewToken(envPublic, target)
+ tokenPrivate := auth.NewToken(target, envPrivate)
+ tokenPublic := auth.NewToken(target, envPublic)
type args struct {
owner string