diff options
Diffstat (limited to 'cmd/gitaly-backup/create_test.go')
-rw-r--r-- | cmd/gitaly-backup/create_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/gitaly-backup/create_test.go b/cmd/gitaly-backup/create_test.go index e14944dda..d26d37b11 100644 --- a/cmd/gitaly-backup/create_test.go +++ b/cmd/gitaly-backup/create_test.go @@ -28,7 +28,7 @@ func TestCreateSubcommand(t *testing.T) { var repos []*gitalypb.Repository for i := 0; i < 5; i++ { - repo, _, _ := gittest.CloneRepoAtStorage(t, cfg.Storages[0], fmt.Sprintf("repo-%d", i)) + repo, _, _ := gittest.CloneRepoAtStorage(t, cfg, cfg.Storages[0], fmt.Sprintf("repo-%d", i)) repos = append(repos, repo) } @@ -58,7 +58,7 @@ func TestCreateSubcommand(t *testing.T) { require.NoError(t, fs.Parse([]string{"-path", path})) require.EqualError(t, cmd.Run(context.Background(), &stdin, ioutil.Discard), - "create: 1 failures encountered") + "create: pipeline: 1 failures encountered") for _, repo := range repos { bundlePath := filepath.Join(path, repo.RelativePath+".bundle") |