[MINOR] refactor out deprecation in test (#2231)

* refactor out deprecation

Signed-off-by: Sally MacFarlane <sally.macfarlane@consensys.net>
pull/2254/head
Sally MacFarlane 4 years ago committed by GitHub
parent 772a238a3c
commit fa92d328d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 12
      ethereum/api/src/integration-test/java/org/hyperledger/besu/ethereum/api/jsonrpc/methods/EthEstimateGasIntegrationTest.java

@ -71,7 +71,7 @@ public class EthEstimateGasIntegrationTest {
final JsonRpcResponse response = method.response(request);
assertThat(response).isEqualToComparingFieldByField(expectedResponse);
assertThat(response).usingRecursiveComparison().isEqualTo(expectedResponse);
}
@Test
@ -92,7 +92,7 @@ public class EthEstimateGasIntegrationTest {
final JsonRpcResponse response = method.response(request);
assertThat(response).isEqualToComparingFieldByField(expectedResponse);
assertThat(response).usingRecursiveComparison().isEqualTo(expectedResponse);
}
@Test
@ -114,7 +114,7 @@ public class EthEstimateGasIntegrationTest {
final JsonRpcResponse response = method.response(request);
assertThat(response).isEqualToComparingFieldByField(expectedResponse);
assertThat(response).usingRecursiveComparison().isEqualTo(expectedResponse);
}
@Test
@ -136,7 +136,7 @@ public class EthEstimateGasIntegrationTest {
final JsonRpcResponse response = method.response(request);
assertThat(response).isEqualToComparingFieldByField(expectedResponse);
assertThat(response).usingRecursiveComparison().isEqualTo(expectedResponse);
}
@Test
@ -158,7 +158,7 @@ public class EthEstimateGasIntegrationTest {
new JsonRpcErrorResponse(null, JsonRpcError.TRANSACTION_UPFRONT_COST_EXCEEDS_BALANCE);
final JsonRpcResponse response = method.response(request);
assertThat(response).isEqualToComparingFieldByField(expectedResponse);
assertThat(response).usingRecursiveComparison().isEqualTo(expectedResponse);
}
@Test
@ -170,7 +170,7 @@ public class EthEstimateGasIntegrationTest {
final JsonRpcResponse response = method.response(request);
assertThat(response).isEqualToComparingFieldByField(expectedResponse);
assertThat(response).usingRecursiveComparison().isEqualTo(expectedResponse);
}
private JsonRpcRequestContext requestWithParams(final Object... params) {

Loading…
Cancel
Save