aboutsummaryrefslogtreecommitdiffstats
path: root/api
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 /api
parent9bc2483df054387c1241b2e1644ab7e6e9bc4e9a (diff)
downloadgit-bug-1a0c86a12d68a2f0ee99cbff535c82e07b735108.tar.gz
repo: use go-git in more places, fix push
Diffstat (limited to 'api')
-rw-r--r--api/graphql/graphql_test.go2
-rw-r--r--api/http/git_file_handlers_test.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/api/graphql/graphql_test.go b/api/graphql/graphql_test.go
index 45e88e9a..69d96cab 100644
--- a/api/graphql/graphql_test.go
+++ b/api/graphql/graphql_test.go
@@ -14,7 +14,7 @@ import (
)
func TestQueries(t *testing.T) {
- repo := repository.CreateTestRepo(false)
+ repo := repository.CreateGoGitTestRepo(false)
defer repository.CleanupTestRepos(repo)
random_bugs.FillRepoWithSeed(repo, 10, 42)
diff --git a/api/http/git_file_handlers_test.go b/api/http/git_file_handlers_test.go
index 81d97d61..68c1542f 100644
--- a/api/http/git_file_handlers_test.go
+++ b/api/http/git_file_handlers_test.go
@@ -19,7 +19,7 @@ import (
)
func TestGitFileHandlers(t *testing.T) {
- repo := repository.CreateTestRepo(false)
+ repo := repository.CreateGoGitTestRepo(false)
defer repository.CleanupTestRepos(repo)
mrc := cache.NewMultiRepoCache()