From 1a0c86a12d68a2f0ee99cbff535c82e07b735108 Mon Sep 17 00:00:00 2001 From: Michael Muré Date: Sun, 4 Oct 2020 19:56:16 +0200 Subject: repo: use go-git in more places, fix push --- bridge/gitlab/export_test.go | 4 ++-- bridge/gitlab/import_test.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'bridge/gitlab') 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) -- cgit