From 0ebffedc586837f7db9709843e53ed08f8c276c5 Mon Sep 17 00:00:00 2001 From: courtneyeh Date: Fri, 17 Nov 2023 13:06:29 +1100 Subject: [PATCH] Fix unit test bug --- .../handlers/v1/beacon/PostStateValidatorsTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/beaconrestapi/src/test/java/tech/pegasys/teku/beaconrestapi/handlers/v1/beacon/PostStateValidatorsTest.java b/data/beaconrestapi/src/test/java/tech/pegasys/teku/beaconrestapi/handlers/v1/beacon/PostStateValidatorsTest.java index 745876394ac..1f6967e81e6 100644 --- a/data/beaconrestapi/src/test/java/tech/pegasys/teku/beaconrestapi/handlers/v1/beacon/PostStateValidatorsTest.java +++ b/data/beaconrestapi/src/test/java/tech/pegasys/teku/beaconrestapi/handlers/v1/beacon/PostStateValidatorsTest.java @@ -166,7 +166,7 @@ public void shouldGetValidatorFromStateWithEmptyRequestBody() throws Exception { final StubRestApiRequest request = StubRestApiRequest.builder() .metadata(handler.getMetadata()) - .pathParameter("state_id", "invalid") + .pathParameter("state_id", "head") .build(); final ObjectAndMetaData> expectedResponse =