Skip to content

Commit f6d81ac

Browse files
Fixed security hotspots.
1 parent adafe11 commit f6d81ac

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

infobip_api_client/tests/test_number_masking_api.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -177,8 +177,8 @@ def test_get_number_masking_configuration_when_utc_date_is_returned_regardless_o
177177

178178
def test_should_create_voice_masking_config(httpserver: HTTPServer, get_api_client):
179179
given_name = "UniqueConfigurationName"
180-
given_callback_url = "http://xyz.com/1/callback"
181-
given_status_url = "http://xyz.com/1/status"
180+
given_callback_url = "https://example.com/1/callback"
181+
given_status_url = "https://example.com/1/status"
182182
given_insert_date_time = "2019-08-16T09:11:36.573"
183183
given_update_date_time = "2019-08-16T09:11:36.573"
184184
given_insert_date_time_offset = datetime.datetime.fromisoformat(
@@ -237,8 +237,8 @@ def test_should_get_number_masking_configuration(
237237
):
238238
given_key = "3FC0C9CB4AFAEAC67E8FC6BA3B1E044A"
239239
given_name = "UniqueConfigurationName"
240-
given_callback_url = "http://xyz.com/1/callback"
241-
given_status_url = "http://xyz.com/1/status"
240+
given_callback_url = "https://example.com/1/callback"
241+
given_status_url = "https://example.com/1/status"
242242
given_insert_date_time = "2019-08-16T09:11:36.573"
243243
given_update_date_time = "2019-08-16T09:11:36.573"
244244
given_insert_date_time_offset = datetime.datetime.fromisoformat(
@@ -281,8 +281,8 @@ def test_should_update_number_masking_configuration(
281281
):
282282
given_key = "3FC0C9CB4AFAEAC67E8FC6BA3B1E044A"
283283
given_name = "UniqueConfigurationName"
284-
given_callback_url = "http://xyz.com/1/callback"
285-
given_status_url = "http://xyz.com/1/status"
284+
given_callback_url = "https://example.com/1/callback"
285+
given_status_url = "https://example.com/1/status"
286286
given_insert_date_time = "2019-08-16T09:11:36.573"
287287
given_update_date_time = "2019-08-16T09:11:36.573"
288288
given_insert_date_time_offset = datetime.datetime.fromisoformat(
@@ -331,7 +331,7 @@ def test_should_update_number_masking_configuration(
331331

332332

333333
def test_should_upload_audio_file(httpserver: HTTPServer, get_api_client):
334-
given_url = "http://www.winhistory.de/more/winstart/mp3/winxp.mp3"
334+
given_url = "https://www.example.com/example-audio-file.mp3"
335335
given_file_id = "cb702ae4-f356-4efd-b2dd-7a667b570af5"
336336

337337
given_request = {"url": given_url}

0 commit comments

Comments
 (0)