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:
3939 stub .SendStreamingMessage = AsyncMock ()
4040 stub .GetTask = AsyncMock ()
4141 stub .CancelTask = AsyncMock ()
42- stub .CreateTaskPushNotification = AsyncMock ()
42+ stub .CreateTaskPushNotificationConfig = AsyncMock ()
4343 stub .GetTaskPushNotification = AsyncMock ()
4444 return stub
4545
@@ -166,8 +166,8 @@ def sample_task_push_notification_config(
166166) -> TaskPushNotificationConfig :
167167 """Provides a sample TaskPushNotificationConfig object."""
168168 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 ,
171171 )
172172
173173
You can’t perform that action at this time.
0 commit comments