Skip to content

Commit 4808aff

Browse files
authored
chore: Fix compile errors (#669)
These were caused by opening #654 before #662 but merging 654 after 662
1 parent e490203 commit 4808aff

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/server-common/src/test/java/io/a2a/server/apps/common/AbstractA2AServerTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2476,7 +2476,7 @@ public void testAgentToAgentDelegation() throws Exception {
24762476
Message delegationMessage = Message.builder()
24772477
.taskId(delegationTaskId)
24782478
.contextId("agent-to-agent-context")
2479-
.role(Message.Role.USER)
2479+
.role(Message.Role.ROLE_USER)
24802480
.parts(new TextPart("delegate:What is 2+2?"))
24812481
.build();
24822482

@@ -2538,7 +2538,7 @@ public void testAgentToAgentLocalHandling() throws Exception {
25382538
Message localMessage = Message.builder()
25392539
.taskId(localTaskId)
25402540
.contextId("agent-to-agent-context")
2541-
.role(Message.Role.USER)
2541+
.role(Message.Role.ROLE_USER)
25422542
.parts(new TextPart("Hello directly"))
25432543
.build();
25442544

0 commit comments

Comments
 (0)