@ -760,7 +760,7 @@ public class JsonRpcHttpServiceTest extends JsonRpcHttpServiceTestBase {
assertThat ( resp . code ( ) ) . isEqualTo ( 200 ) ;
// Check general format of result
final JsonObject json = new JsonObject ( resp . body ( ) . string ( ) ) ;
final RpcErrorType expectedError = RpcErrorType . INVALID_PARAMS ;
final RpcErrorType expectedError = RpcErrorType . INVALID_BLOCK_HASH_ PARAMS ;
testHelper . assertValidJsonRpcError (
json , id , expectedError . getCode ( ) , expectedError . getMessage ( ) ) ;
}
@ -807,7 +807,7 @@ public class JsonRpcHttpServiceTest extends JsonRpcHttpServiceTestBase {
assertThat ( resp . code ( ) ) . isEqualTo ( 200 ) ;
// Check general format of result
final JsonObject json = new JsonObject ( resp . body ( ) . string ( ) ) ;
final RpcErrorType expectedError = RpcErrorType . INVALID_PARAMS ;
final RpcErrorType expectedError = RpcErrorType . INVALID_BLOCK_HASH_ PARAMS ;
testHelper . assertValidJsonRpcError (
json , id , expectedError . getCode ( ) , expectedError . getMessage ( ) ) ;
}
@ -830,7 +830,7 @@ public class JsonRpcHttpServiceTest extends JsonRpcHttpServiceTestBase {
assertThat ( resp . code ( ) ) . isEqualTo ( 200 ) ;
// Check general format of result
final JsonObject json = new JsonObject ( resp . body ( ) . string ( ) ) ;
final RpcErrorType expectedError = RpcErrorType . INVALID_PARAMS ;
final RpcErrorType expectedError = RpcErrorType . INVALID_BLOCK_HASH_ PARAMS ;
testHelper . assertValidJsonRpcError (
json , id , expectedError . getCode ( ) , expectedError . getMessage ( ) ) ;
}
@ -874,7 +874,7 @@ public class JsonRpcHttpServiceTest extends JsonRpcHttpServiceTestBase {
assertThat ( resp . code ( ) ) . isEqualTo ( 200 ) ;
// Check general format of result
final JsonObject json = new JsonObject ( resp . body ( ) . string ( ) ) ;
final RpcErrorType expectedError = RpcErrorType . INVALID_PARAMS ;
final RpcErrorType expectedError = RpcErrorType . INVALID_BLOCK_HASH_ PARAMS ;
testHelper . assertValidJsonRpcError (
json , id , expectedError . getCode ( ) , expectedError . getMessage ( ) ) ;
}
@ -894,7 +894,7 @@ public class JsonRpcHttpServiceTest extends JsonRpcHttpServiceTestBase {
assertThat ( resp . code ( ) ) . isEqualTo ( 200 ) ;
// Check general format of result
final JsonObject json = new JsonObject ( resp . body ( ) . string ( ) ) ;
final RpcErrorType expectedError = RpcErrorType . INVALID_PARAMS ;
final RpcErrorType expectedError = RpcErrorType . INVALID_BLOCK_HASH_ PARAMS ;
testHelper . assertValidJsonRpcError (
json , id , expectedError . getCode ( ) , expectedError . getMessage ( ) ) ;
}