Skip to content

Commit 058d607

Browse files
committed
Fixing rest tests missing configId.
Signed-off-by: Emmanuel Hugonnet <[email protected]>
1 parent 6a2441f commit 058d607

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

transport/rest/src/test/java/io/a2a/transport/rest/handler/RestHandlerTest.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,8 +221,9 @@ public void testPushNotificationConfigSuccess() {
221221
{
222222
"parent": "tasks/%s",
223223
"config": {
224-
"name": "tasks/%s/pushNotificationConfigs/",
224+
"name": "tasks/%s/pushNotificationConfigs/default-config-id",
225225
"pushNotificationConfig": {
226+
"id":"default-config-id",
226227
"url": "https://example.com/callback",
227228
"authentication": {
228229
"schemes": ["jwt"]
@@ -268,8 +269,9 @@ public void testGetPushNotificationConfig() {
268269
{
269270
"parent": "tasks/%s",
270271
"config": {
271-
"name": "tasks/%s/pushNotificationConfigs/",
272+
"name": "tasks/%s/pushNotificationConfigs/default-config-id",
272273
"pushNotificationConfig": {
274+
"id":"default-config-id",
273275
"url": "https://example.com/callback",
274276
"authentication": {
275277
"schemes": ["jwt"]

0 commit comments

Comments
 (0)