File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ def mock_grpc_stub() -> AsyncMock:
39
39
stub .SendStreamingMessage = AsyncMock ()
40
40
stub .GetTask = AsyncMock ()
41
41
stub .CancelTask = AsyncMock ()
42
- stub .CreateTaskPushNotification = AsyncMock ()
42
+ stub .CreateTaskPushNotificationConfig = AsyncMock ()
43
43
stub .GetTaskPushNotification = AsyncMock ()
44
44
return stub
45
45
@@ -166,8 +166,8 @@ def sample_task_push_notification_config(
166
166
) -> TaskPushNotificationConfig :
167
167
"""Provides a sample TaskPushNotificationConfig object."""
168
168
return TaskPushNotificationConfig (
169
- name = 'task-push-notification-config-name -1' ,
170
- push_notification_config = sample_push_notification_config ,
169
+ taskId = 'task-1' ,
170
+ pushNotificationConfig = sample_push_notification_config ,
171
171
)
172
172
173
173
You can’t perform that action at this time.
0 commit comments