diff options
Diffstat (limited to 'internal/gitaly/service/commit')
-rw-r--r-- | internal/gitaly/service/commit/count_commits_test.go | 2 | ||||
-rw-r--r-- | internal/gitaly/service/commit/count_diverging_commits_test.go | 2 | ||||
-rw-r--r-- | internal/gitaly/service/commit/list_files_test.go | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/internal/gitaly/service/commit/count_commits_test.go b/internal/gitaly/service/commit/count_commits_test.go index a69e0700b..8b23acfc6 100644 --- a/internal/gitaly/service/commit/count_commits_test.go +++ b/internal/gitaly/service/commit/count_commits_test.go @@ -16,7 +16,7 @@ import ( func TestSuccessfulCountCommitsRequest(t *testing.T) { cfg, repo1, _, client := setupCommitServiceWithRepo(t, true) - repo2, repo2Path, cleanupFn := gittest.InitRepoWithWorktreeAtStorage(t, cfg.Storages[0]) + repo2, repo2Path, cleanupFn := gittest.InitRepoWithWorktreeAtStorage(t, cfg, cfg.Storages[0]) t.Cleanup(cleanupFn) committerName := "Scrooge McDuck" diff --git a/internal/gitaly/service/commit/count_diverging_commits_test.go b/internal/gitaly/service/commit/count_diverging_commits_test.go index 96ab6c959..89a2b87fc 100644 --- a/internal/gitaly/service/commit/count_diverging_commits_test.go +++ b/internal/gitaly/service/commit/count_diverging_commits_test.go @@ -26,7 +26,7 @@ func createRepoWithDivergentBranches(t *testing.T, cfg config.Cfg, leftCommits, f h */ - repo, worktreePath, cleanupFn := gittest.InitRepoWithWorktreeAtStorage(t, cfg.Storages[0]) + repo, worktreePath, cleanupFn := gittest.InitRepoWithWorktreeAtStorage(t, cfg, cfg.Storages[0]) committerName := "Scrooge McDuck" committerEmail := "scrooge@mcduck.com" diff --git a/internal/gitaly/service/commit/list_files_test.go b/internal/gitaly/service/commit/list_files_test.go index bcfe2fdf2..38eba7e25 100644 --- a/internal/gitaly/service/commit/list_files_test.go +++ b/internal/gitaly/service/commit/list_files_test.go @@ -135,7 +135,7 @@ func TestListFiles_success(t *testing.T) { func TestListFiles_unbornBranch(t *testing.T) { cfg, _, _, client := setupCommitServiceWithRepo(t, true) - repo, _, _ := gittest.InitBareRepoAt(t, cfg.Storages[0]) + repo, _, _ := gittest.InitBareRepoAt(t, cfg, cfg.Storages[0]) tests := []struct { desc string |