We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e490203 commit 4808affCopy full SHA for 4808aff
1 file changed
tests/server-common/src/test/java/io/a2a/server/apps/common/AbstractA2AServerTest.java
@@ -2476,7 +2476,7 @@ public void testAgentToAgentDelegation() throws Exception {
2476
Message delegationMessage = Message.builder()
2477
.taskId(delegationTaskId)
2478
.contextId("agent-to-agent-context")
2479
- .role(Message.Role.USER)
+ .role(Message.Role.ROLE_USER)
2480
.parts(new TextPart("delegate:What is 2+2?"))
2481
.build();
2482
@@ -2538,7 +2538,7 @@ public void testAgentToAgentLocalHandling() throws Exception {
2538
Message localMessage = Message.builder()
2539
.taskId(localTaskId)
2540
2541
2542
.parts(new TextPart("Hello directly"))
2543
2544
0 commit comments