Skip to content

Commit beb9130

Browse files
Changed webhookId to a valid uuid in tests
1 parent 06e38d4 commit beb9130

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/test_voice_webhook.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ def test_voice_create_webhook(self):
109109
"self": "/webhooks/534e1848-235f-482d-983d-e3e11a04f58a"
110110
}
111111
}'''
112+
112113
create_webhook_request = VoiceCreateWebhookRequest(url="https://example.com/", title="FooBar", token="foobar")
113114
created_webhook = Client('', http_client).voice_create_webhook(create_webhook_request)
114115

@@ -152,7 +153,7 @@ def test_voice_update_webhook(self):
152153
"self": "/webhooks/534e1848-235f-482d-983d-e3e11a04f58a"
153154
}
154155
}'''
155-
webhook_id = 'webhook-id'
156+
webhook_id = '534e1848-235f-482d-983d-e3e11a04f58a'
156157
update_webhook_request = VoiceUpdateWebhookRequest(title="FooBar", token="foobar")
157158
updated_webhook = Client('', http_client).voice_update_webhook(webhook_id, update_webhook_request)
158159

@@ -164,7 +165,7 @@ def test_voice_update_webhook(self):
164165
def test_voice_delete_webhook(self):
165166
http_client = Mock()
166167
http_client.request.return_value = ''
167-
webhook_id = 'webhook-id'
168+
webhook_id = '534e1848-235f-482d-983d-e3e11a04f58a'
168169
Client('', http_client).voice_delete_webhook(webhook_id)
169170

170171
http_client.request.assert_called_once_with(

0 commit comments

Comments
 (0)