aboutsummaryrefslogtreecommitdiffstats
path: root/bridge/github
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2020-10-04 19:56:16 +0200
committerMichael Muré <batolettre@gmail.com>2020-10-04 19:56:16 +0200
commit1a0c86a12d68a2f0ee99cbff535c82e07b735108 (patch)
treecd83782c576f2869555913d753de1351ff94a547 /bridge/github
parent9bc2483df054387c1241b2e1644ab7e6e9bc4e9a (diff)
downloadgit-bug-1a0c86a12d68a2f0ee99cbff535c82e07b735108.tar.gz
repo: use go-git in more places, fix push
Diffstat (limited to 'bridge/github')
-rw-r--r--bridge/github/export_test.go4
-rw-r--r--bridge/github/import_test.go2
2 files changed, 3 insertions, 3 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)