From eba15f19d3d18c04f08fc2fcb061355707356d63 Mon Sep 17 00:00:00 2001 From: Marcin Warzybok Date: Wed, 6 Dec 2023 14:53:36 +0100 Subject: [PATCH] SP-734 Java - Investigate HTTPResponse --- .../bitpay/sdk/functional/client/HttpResponseProviderTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/com/bitpay/sdk/functional/client/HttpResponseProviderTest.java b/src/test/java/com/bitpay/sdk/functional/client/HttpResponseProviderTest.java index bc0bc31b..571470ad 100644 --- a/src/test/java/com/bitpay/sdk/functional/client/HttpResponseProviderTest.java +++ b/src/test/java/com/bitpay/sdk/functional/client/HttpResponseProviderTest.java @@ -24,7 +24,7 @@ public void it_should_correct_transfer_apache_response_to_bitpay_response() thro HttpResponse httpResponse = HttpResponseProvider.fromApacheHttpResponse(apacheResponse); - Assertions.assertEquals(20, httpResponse.getCode()); + Assertions.assertEquals(200, httpResponse.getCode()); Assertions.assertEquals("{\n" + " \"userId\": 1,\n" + " \"id\": 1,\n" +