aboutsummaryrefslogtreecommitdiffstats
path: root/bridge/github/import_test.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2020-02-15 15:51:16 +0100
committerMichael Muré <batolettre@gmail.com>2020-02-15 15:51:16 +0100
commit0bb9ed9b0e6a53fd668be0c60127af78ddd061b5 (patch)
tree72efd9bdbf1ecdda60cdeaab561a5fc36b032871 /bridge/github/import_test.go
parentcfa005889a7d398ee71eac4a6d4b23a691a7ef2a (diff)
parent157e10f2e1d49748f62e210cadc088ecae9f3dfc (diff)
downloadgit-bug-0bb9ed9b0e6a53fd668be0c60127af78ddd061b5.tar.gz
Merge remote-tracking branch 'origin/master' into cheshirekow-jira
Diffstat (limited to 'bridge/github/import_test.go')
-rw-r--r--bridge/github/import_test.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/bridge/github/import_test.go b/bridge/github/import_test.go
index 4f75f368..20b1b71e 100644
--- a/bridge/github/import_test.go
+++ b/bridge/github/import_test.go
@@ -149,14 +149,15 @@ func Test_Importer(t *testing.T) {
err = auth.Store(repo, token)
require.NoError(t, err)
+ ctx := context.Background()
+
importer := &githubImporter{}
- err = importer.Init(backend, core.Configuration{
+ err = importer.Init(ctx, backend, core.Configuration{
confKeyOwner: "MichaelMure",
confKeyProject: "git-bug-test-github-bridge",
})
require.NoError(t, err)
- ctx := context.Background()
start := time.Now()
events, err := importer.ImportAll(ctx, backend, time.Time{})