Add tests for REST API /validator/attestation (#1189)

added tests that ensures `/validator/attestation` returns BAD_REQUEST if the required query parameters are missing in the request
This commit is contained in:
Akihito Nakano
2020-05-25 09:25:08 +09:00
committed by GitHub
parent ea56dcb179
commit a88afb7409
3 changed files with 125 additions and 0 deletions

View File

@@ -38,6 +38,7 @@ operation_pool = { path = "../operation_pool" }
rayon = "1.3.0"
[dev-dependencies]
assert_matches = "1.3.0"
remote_beacon_node = { path = "../../common/remote_beacon_node" }
node_test_rig = { path = "../../testing/node_test_rig" }
tree_hash = "0.1.0"