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/restore_custom_hooks_test.go')
-rw-r--r--internal/gitaly/service/repository/restore_custom_hooks_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/gitaly/service/repository/restore_custom_hooks_test.go b/internal/gitaly/service/repository/restore_custom_hooks_test.go
index 0b5257dd7..436c4900e 100644
--- a/internal/gitaly/service/repository/restore_custom_hooks_test.go
+++ b/internal/gitaly/service/repository/restore_custom_hooks_test.go
@@ -106,11 +106,11 @@ func testFailedRestoreCustomHooksDueToValidations(t *testing.T, ctx context.Cont
stream, err := client.RestoreCustomHooks(ctx)
require.NoError(t, err)
- require.NoError(t, stream.Send(&gitalypb.RestoreCustomHooksRequest{}))
+ require.NoError(t, stream.Send(&gitalypb.RestoreCustomHooksRequest{Repository: nil}))
_, err = stream.CloseAndRecv()
testhelper.RequireGrpcError(t, err, status.Error(codes.InvalidArgument, testhelper.GitalyOrPraefect(
- "RestoreCustomHooks: empty Repository",
+ "empty Repository",
"repo scoped: empty Repository",
)))
}