diff options
Diffstat (limited to 'internal/gitaly/service/smarthttp/receive_pack_test.go')
-rw-r--r-- | internal/gitaly/service/smarthttp/receive_pack_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/gitaly/service/smarthttp/receive_pack_test.go b/internal/gitaly/service/smarthttp/receive_pack_test.go index 5059e4c7c..d7b066969 100644 --- a/internal/gitaly/service/smarthttp/receive_pack_test.go +++ b/internal/gitaly/service/smarthttp/receive_pack_test.go @@ -378,7 +378,7 @@ func TestPostReceivePack_requestValidation(t *testing.T) { }, GlId: "user-123", }, - expectedErr: status.Error(codes.InvalidArgument, testhelper.GitalyOrPraefectMessage( + expectedErr: status.Error(codes.InvalidArgument, testhelper.GitalyOrPraefect( `GetStorageByName: no such storage: "fake"`, "repo scoped: invalid Repository", )), @@ -386,7 +386,7 @@ func TestPostReceivePack_requestValidation(t *testing.T) { { desc: "Repository is nil", request: &gitalypb.PostReceivePackRequest{Repository: nil, GlId: "user-123"}, - expectedErr: status.Error(codes.InvalidArgument, testhelper.GitalyOrPraefectMessage( + expectedErr: status.Error(codes.InvalidArgument, testhelper.GitalyOrPraefect( "empty Repository", "repo scoped: empty Repository", )), |