From bc83d592222c0bbad5f35949b12c72703c772d38 Mon Sep 17 00:00:00 2001 From: Andrey Beletsky Date: Fri, 23 Aug 2019 16:37:07 +0700 Subject: [PATCH] Fix proxy service logging test --- app/proxy/service_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/proxy/service_test.go b/app/proxy/service_test.go index a8d4f3f7..62ab2354 100644 --- a/app/proxy/service_test.go +++ b/app/proxy/service_test.go @@ -224,7 +224,7 @@ func TestCallClientJSONError(t *testing.T) { assert.Equal(t, "2.0", rpcResponse.JSONRPC) assert.Equal(t, ErrJSONParse, rpcResponse.Error.Code) assert.Equal(t, "unexpected end of JSON input", rpcResponse.Error.Message) - assert.Equal(t, "malformed JSON from client: unexpected end of JSON input", hook.LastEntry().Message) + assert.Equal(t, "error calling lbrynet: unexpected end of JSON input, query: {\"method\":\"version}", hook.LastEntry().Message) } func TestParamsAsMap(t *testing.T) {