diff options
Diffstat (limited to 'internal/gitaly/service/repository/restore_custom_hooks_test.go')
-rw-r--r-- | internal/gitaly/service/repository/restore_custom_hooks_test.go | 4 |
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", ))) } |