diff options
author | Michael Muré <batolettre@gmail.com> | 2020-10-04 20:09:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-04 20:09:36 +0200 |
commit | d56ce3d5d9f5ef74201a8ee7c25be4820d435b47 (patch) | |
tree | 4382550c1e8387b7cb6b13c6dd32508c24e6c4ca /bridge | |
parent | 9bc2483df054387c1241b2e1644ab7e6e9bc4e9a (diff) | |
parent | 1eb13173183cf402e4197be51935a4b3ddacf256 (diff) | |
download | git-bug-d56ce3d5d9f5ef74201a8ee7c25be4820d435b47.tar.gz |
Merge pull request #460 from MichaelMure/fix-push
repo: use go-git in more places, fix push
Diffstat (limited to 'bridge')
-rw-r--r-- | bridge/github/export_test.go | 4 | ||||
-rw-r--r-- | bridge/github/import_test.go | 2 | ||||
-rw-r--r-- | bridge/gitlab/export_test.go | 4 | ||||
-rw-r--r-- | bridge/gitlab/import_test.go | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/bridge/github/export_test.go b/bridge/github/export_test.go index b160ac7f..5b9a3495 100644 --- a/bridge/github/export_test.go +++ b/bridge/github/export_test.go @@ -137,7 +137,7 @@ func TestPushPull(t *testing.T) { } // create repo backend - repo := repository.CreateTestRepo(false) + repo := repository.CreateGoGitTestRepo(false) defer repository.CleanupTestRepos(repo) backend, err := cache.NewRepoCache(repo) @@ -209,7 +209,7 @@ func TestPushPull(t *testing.T) { fmt.Printf("test repository exported in %f seconds\n", time.Since(start).Seconds()) - repoTwo := repository.CreateTestRepo(false) + repoTwo := repository.CreateGoGitTestRepo(false) defer repository.CleanupTestRepos(repoTwo) // create a second backend diff --git a/bridge/github/import_test.go b/bridge/github/import_test.go index f33b30c2..2295806f 100644 --- a/bridge/github/import_test.go +++ b/bridge/github/import_test.go @@ -127,7 +127,7 @@ func Test_Importer(t *testing.T) { }, } - repo := repository.CreateTestRepo(false) + repo := repository.CreateGoGitTestRepo(false) defer repository.CleanupTestRepos(repo) backend, err := cache.NewRepoCache(repo) diff --git a/bridge/gitlab/export_test.go b/bridge/gitlab/export_test.go index 96dfe1e1..58f3d63c 100644 --- a/bridge/gitlab/export_test.go +++ b/bridge/gitlab/export_test.go @@ -142,7 +142,7 @@ func TestPushPull(t *testing.T) { } // create repo backend - repo := repository.CreateTestRepo(false) + repo := repository.CreateGoGitTestRepo(false) defer repository.CleanupTestRepos(repo) backend, err := cache.NewRepoCache(repo) @@ -215,7 +215,7 @@ func TestPushPull(t *testing.T) { fmt.Printf("test repository exported in %f seconds\n", time.Since(start).Seconds()) - repoTwo := repository.CreateTestRepo(false) + repoTwo := repository.CreateGoGitTestRepo(false) defer repository.CleanupTestRepos(repoTwo) // create a second backend diff --git a/bridge/gitlab/import_test.go b/bridge/gitlab/import_test.go index 9a936ae4..db550f08 100644 --- a/bridge/gitlab/import_test.go +++ b/bridge/gitlab/import_test.go @@ -76,7 +76,7 @@ func TestImport(t *testing.T) { }, } - repo := repository.CreateTestRepo(false) + repo := repository.CreateGoGitTestRepo(false) defer repository.CleanupTestRepos(repo) backend, err := cache.NewRepoCache(repo) |