From 18badf449f71eccb8f9420a71857c1b9dc859c20 Mon Sep 17 00:00:00 2001 From: courtneyeh Date: Mon, 15 Apr 2024 12:31:46 +1000 Subject: [PATCH] Make response final --- .../teku/validator/client/restapi/apis/GetGraffitiTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/validator/client/src/test/java/tech/pegasys/teku/validator/client/restapi/apis/GetGraffitiTest.java b/validator/client/src/test/java/tech/pegasys/teku/validator/client/restapi/apis/GetGraffitiTest.java index 6cfb401469c..22cc7f80a79 100644 --- a/validator/client/src/test/java/tech/pegasys/teku/validator/client/restapi/apis/GetGraffitiTest.java +++ b/validator/client/src/test/java/tech/pegasys/teku/validator/client/restapi/apis/GetGraffitiTest.java @@ -36,7 +36,7 @@ class GetGraffitiTest { @Test void metadata_shouldHandle200() throws JsonProcessingException { - GetGraffiti.GraffitiResponse response = + final GetGraffiti.GraffitiResponse response = new GetGraffiti.GraffitiResponse(dataStructureUtil.randomPublicKey(), "Test graffiti"); final String responseData = getResponseStringFromMetadata(handler, SC_OK, response); assertThat(responseData)