diff options
author | Michael Muré <batolettre@gmail.com> | 2020-01-12 16:38:16 +0100 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2020-02-08 17:18:28 +0100 |
commit | ae2f942ef907161af0aba5f3511db72cf9801dca (patch) | |
tree | 899e9a2d93d3d4be3b700f5763b7bc158c24ff30 /bridge/github/config_test.go | |
parent | 26f0152384f77d2bfd16c6762f5618bc966809a6 (diff) | |
download | git-bug-ae2f942ef907161af0aba5f3511db72cf9801dca.tar.gz |
more wip
Diffstat (limited to 'bridge/github/config_test.go')
-rw-r--r-- | bridge/github/config_test.go | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/bridge/github/config_test.go b/bridge/github/config_test.go index 9798d26b..d7b1b38d 100644 --- a/bridge/github/config_test.go +++ b/bridge/github/config_test.go @@ -7,7 +7,6 @@ import ( "github.com/stretchr/testify/assert" "github.com/MichaelMure/git-bug/bridge/core/auth" - "github.com/MichaelMure/git-bug/entity" ) func TestSplitURL(t *testing.T) { @@ -155,8 +154,8 @@ func TestValidateProject(t *testing.T) { t.Skip("Env var GITHUB_TOKEN_PUBLIC missing") } - tokenPrivate := auth.NewToken(entity.UnsetId, envPrivate, target) - tokenPublic := auth.NewToken(entity.UnsetId, envPublic, target) + tokenPrivate := auth.NewToken(envPrivate, target) + tokenPublic := auth.NewToken(envPublic, target) type args struct { owner string |