From 54219bae2bdcb1e65bbb772d31818cd00cd56281 Mon Sep 17 00:00:00 2001 From: Kabir Khan Date: Wed, 18 Feb 2026 11:26:33 +0000 Subject: [PATCH] chore: Fix compile errors These were caused by opening https://github.com/a2aproject/a2a-java/pull/654 before https://github.com/a2aproject/a2a-java/pull/662 but merging 654 after 662 --- .../java/io/a2a/server/apps/common/AbstractA2AServerTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/server-common/src/test/java/io/a2a/server/apps/common/AbstractA2AServerTest.java b/tests/server-common/src/test/java/io/a2a/server/apps/common/AbstractA2AServerTest.java index 646451d6d..ae6b8443a 100644 --- a/tests/server-common/src/test/java/io/a2a/server/apps/common/AbstractA2AServerTest.java +++ b/tests/server-common/src/test/java/io/a2a/server/apps/common/AbstractA2AServerTest.java @@ -2476,7 +2476,7 @@ public void testAgentToAgentDelegation() throws Exception { Message delegationMessage = Message.builder() .taskId(delegationTaskId) .contextId("agent-to-agent-context") - .role(Message.Role.USER) + .role(Message.Role.ROLE_USER) .parts(new TextPart("delegate:What is 2+2?")) .build(); @@ -2538,7 +2538,7 @@ public void testAgentToAgentLocalHandling() throws Exception { Message localMessage = Message.builder() .taskId(localTaskId) .contextId("agent-to-agent-context") - .role(Message.Role.USER) + .role(Message.Role.ROLE_USER) .parts(new TextPart("Hello directly")) .build();