Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'internal/gitaly/service/repository/calculate_checksum_test.go')
-rw-r--r--internal/gitaly/service/repository/calculate_checksum_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/gitaly/service/repository/calculate_checksum_test.go b/internal/gitaly/service/repository/calculate_checksum_test.go
index e4d445e9c..f5a49a320 100644
--- a/internal/gitaly/service/repository/calculate_checksum_test.go
+++ b/internal/gitaly/service/repository/calculate_checksum_test.go
@@ -67,7 +67,7 @@ func TestRefWhitelist(t *testing.T) {
func TestEmptyRepositoryCalculateChecksum(t *testing.T) {
cfg, client := setupRepositoryServiceWithoutRepo(t)
- repo, _, cleanup := gittest.InitBareRepoAt(t, cfg.Storages[0])
+ repo, _, cleanup := gittest.InitBareRepoAt(t, cfg, cfg.Storages[0])
t.Cleanup(cleanup)
request := &gitalypb.CalculateChecksumRequest{Repository: repo}
@@ -82,7 +82,7 @@ func TestEmptyRepositoryCalculateChecksum(t *testing.T) {
func TestBrokenRepositoryCalculateChecksum(t *testing.T) {
cfg, client := setupRepositoryServiceWithoutRepo(t)
- repo, repoPath, cleanup := gittest.InitBareRepoAt(t, cfg.Storages[0])
+ repo, repoPath, cleanup := gittest.InitBareRepoAt(t, cfg, cfg.Storages[0])
t.Cleanup(cleanup)
// Force an empty HEAD file