diff options
Diffstat (limited to 'internal/backup/backup_test.go')
-rw-r--r-- | internal/backup/backup_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/internal/backup/backup_test.go b/internal/backup/backup_test.go index 6eb0a150c..5184a99a7 100644 --- a/internal/backup/backup_test.go +++ b/internal/backup/backup_test.go @@ -81,7 +81,7 @@ func TestManager_Create(t *testing.T) { setup: func(tb testing.TB) (*gitalypb.Repository, string) { emptyRepo, repoPath := gittest.CreateRepository(tb, ctx, cfg) nonexistentRepo := proto.Clone(emptyRepo).(*gitalypb.Repository) - nonexistentRepo.RelativePath = gittest.NewRepositoryName(t, true) + nonexistentRepo.RelativePath = gittest.NewRepositoryName(t) return nonexistentRepo, repoPath }, createsBundle: false, @@ -286,7 +286,7 @@ func testManagerRestore(t *testing.T, ctx context.Context) { repo := &gitalypb.Repository{ StorageName: "default", - RelativePath: gittest.NewRepositoryName(tb, true), + RelativePath: gittest.NewRepositoryName(tb), } _, err := repoClient.CreateRepository(ctx, &gitalypb.CreateRepositoryRequest{Repository: repo}) @@ -378,7 +378,7 @@ func testManagerRestore(t *testing.T, ctx context.Context) { setup: func(tb testing.TB) (*gitalypb.Repository, *git.Checksum) { repo := &gitalypb.Repository{ StorageName: "default", - RelativePath: gittest.NewRepositoryName(tb, true), + RelativePath: gittest.NewRepositoryName(tb), } relativePath := stripRelativePath(tb, repo) |