diff options
author | Michael Muré <batolettre@gmail.com> | 2020-02-23 19:20:45 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-23 19:20:45 +0100 |
commit | 8ef6438fb476e9d510a39ead321cbeee6288e2d2 (patch) | |
tree | 2bcd2a5420bbdbed13b3de82992c30b7d17893e2 /bridge/github/export_test.go | |
parent | 0e68c10ffc3f9e72e32b8cdfcd917b3fe1ab240c (diff) | |
parent | 0cebe1e57e7e4b03aef77cd11bd4fc683c32afc6 (diff) | |
download | git-bug-8ef6438fb476e9d510a39ead321cbeee6288e2d2.tar.gz |
Merge pull request #341 from MichaelMure/bridges-default-login
bridge: record the login used during the configure and use it as default credential
Diffstat (limited to 'bridge/github/export_test.go')
-rw-r--r-- | bridge/github/export_test.go | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/bridge/github/export_test.go b/bridge/github/export_test.go index acbd657a..0748ecbf 100644 --- a/bridge/github/export_test.go +++ b/bridge/github/export_test.go @@ -190,8 +190,9 @@ func TestPushPull(t *testing.T) { // initialize exporter exporter := &githubExporter{} err = exporter.Init(ctx, backend, core.Configuration{ - confKeyOwner: envUser, - confKeyProject: projectName, + confKeyOwner: envUser, + confKeyProject: projectName, + confKeyDefaultLogin: login, }) require.NoError(t, err) @@ -217,8 +218,9 @@ func TestPushPull(t *testing.T) { importer := &githubImporter{} err = importer.Init(ctx, backend, core.Configuration{ - confKeyOwner: envUser, - confKeyProject: projectName, + confKeyOwner: envUser, + confKeyProject: projectName, + confKeyDefaultLogin: login, }) require.NoError(t, err) |