Skip to content

Commit

Permalink
[Communication]: Removed error code assertion from unauthorized phone…
Browse files Browse the repository at this point in the history
… number test (#17955)

* Updated expected error code

* Removed error code assertion from unauthorized phone number test
  • Loading branch information
lsundaralingam authored Apr 13, 2021
1 parent 2701194 commit 1019494
Show file tree
Hide file tree
Showing 16 changed files with 78 additions and 80 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ interactions:
Content-Type:
- application/json
Date:
- Fri, 05 Mar 2021 19:37:41 GMT
- Tue, 13 Apr 2021 18:38:02 GMT
User-Agent:
- azsdk-python-communication-sms/1.0.0b5 Python/3.9.0 (Windows-10-10.0.19041-SP0)
- azsdk-python-communication-sms/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0)
x-ms-return-client-request-id:
- 'true'
method: POST
Expand All @@ -29,15 +29,15 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Fri, 05 Mar 2021 19:37:40 GMT
- Tue, 13 Apr 2021 18:38:03 GMT
ms-cv:
- B1peb4SWBkGyyLodTehCIQ.0
- K5QlPZ6p/0qNhQ7fRebKJg.0
request-context:
- appId=
transfer-encoding:
- chunked
x-processing-time:
- 66ms
- 11ms
status:
code: 400
message: Bad Request
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ interactions:
Content-Type:
- application/json
Date:
- Fri, 05 Mar 2021 19:37:42 GMT
- Tue, 13 Apr 2021 18:38:03 GMT
User-Agent:
- azsdk-python-communication-sms/1.0.0b5 Python/3.9.0 (Windows-10-10.0.19041-SP0)
- azsdk-python-communication-sms/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0)
x-ms-return-client-request-id:
- 'true'
method: POST
Expand All @@ -32,15 +32,15 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Fri, 05 Mar 2021 19:37:41 GMT
- Tue, 13 Apr 2021 18:38:03 GMT
ms-cv:
- tcnexSDlz0yoF5QZkqJumg.0
- gw4wVjhc2U2L30f0iIDuZg.0
request-context:
- appId=
transfer-encoding:
- chunked
x-processing-time:
- 509ms
- 316ms
status:
code: 202
message: Accepted
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ interactions:
Content-Type:
- application/json
User-Agent:
- azsdk-python-communication-sms/1.0.0b5 Python/3.9.0 (Windows-10-10.0.19041-SP0)
- azsdk-python-communication-sms/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0)
method: POST
uri: https://sanitized.communication.azure.com/sms?api-version=2021-03-07
response:
Expand All @@ -28,15 +28,15 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Fri, 05 Mar 2021 19:37:42 GMT
- Tue, 13 Apr 2021 18:38:05 GMT
ms-cv:
- pQOMLyptt0COSfJpL6UUHA.0
- olGG26idwE+LzaOTnK/I+w.0
request-context:
- appId=
transfer-encoding:
- chunked
x-processing-time:
- 761ms
- 843ms
status:
code: 202
message: Accepted
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ interactions:
Content-Type:
- application/json
Date:
- Fri, 05 Mar 2021 19:37:44 GMT
- Tue, 13 Apr 2021 18:38:05 GMT
User-Agent:
- azsdk-python-communication-sms/1.0.0b5 Python/3.9.0 (Windows-10-10.0.19041-SP0)
- azsdk-python-communication-sms/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0)
x-ms-return-client-request-id:
- 'true'
method: POST
Expand All @@ -35,15 +35,15 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Fri, 05 Mar 2021 19:37:43 GMT
- Tue, 13 Apr 2021 18:38:06 GMT
ms-cv:
- cp34G5Z9HUiBs73cc6I02A.0
- ovcS8YyU6UauDrfEXMFaqQ.0
request-context:
- appId=
transfer-encoding:
- chunked
x-processing-time:
- 856ms
- 629ms
status:
code: 202
message: Accepted
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ interactions:
Content-Type:
- application/json
Date:
- Fri, 05 Mar 2021 19:37:45 GMT
- Tue, 13 Apr 2021 18:38:06 GMT
User-Agent:
- azsdk-python-communication-sms/1.0.0b5 Python/3.9.0 (Windows-10-10.0.19041-SP0)
- azsdk-python-communication-sms/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0)
x-ms-return-client-request-id:
- 'true'
method: POST
Expand All @@ -32,15 +32,15 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Fri, 05 Mar 2021 19:37:45 GMT
- Tue, 13 Apr 2021 18:38:07 GMT
ms-cv:
- FtedoPGlX0erQ8KTINWxsw.0
- lf9zHoiaa06EpPwt/ZkcGg.0
request-context:
- appId=
transfer-encoding:
- chunked
x-processing-time:
- 613ms
- 539ms
status:
code: 202
message: Accepted
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ interactions:
Content-Type:
- application/json
Date:
- Fri, 05 Mar 2021 19:37:46 GMT
- Tue, 13 Apr 2021 18:38:07 GMT
User-Agent:
- azsdk-python-communication-sms/1.0.0b5 Python/3.9.0 (Windows-10-10.0.19041-SP0)
- azsdk-python-communication-sms/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0)
x-ms-return-client-request-id:
- 'true'
method: POST
Expand All @@ -31,13 +31,13 @@ interactions:
content-length:
- '0'
date:
- Fri, 05 Mar 2021 19:37:45 GMT
- Tue, 13 Apr 2021 18:38:07 GMT
ms-cv:
- RtlQyDjBIECesyWgMgF3kA.0
- K2Dj4s4VfUSSX85g/GLf7Q.0
request-context:
- appId=
x-processing-time:
- 451ms
- 429ms
status:
code: 404
message: Not Found
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ interactions:
Content-Type:
- application/json
Date:
- Fri, 05 Mar 2021 19:37:47 GMT
- Tue, 13 Apr 2021 18:38:07 GMT
User-Agent:
- azsdk-python-communication-sms/1.0.0b5 Python/3.9.0 (Windows-10-10.0.19041-SP0)
- azsdk-python-communication-sms/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0)
x-ms-return-client-request-id:
- 'true'
method: POST
Expand All @@ -32,15 +32,15 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Fri, 05 Mar 2021 19:37:46 GMT
- Tue, 13 Apr 2021 18:38:08 GMT
ms-cv:
- DUSFMGFqaUqlOhACHICxeA.0
- NaeHfjm8vEa2kzQRYtt98w.0
request-context:
- appId=
transfer-encoding:
- chunked
x-processing-time:
- 472ms
- 545ms
status:
code: 202
message: Accepted
Expand All @@ -60,9 +60,9 @@ interactions:
Content-Type:
- application/json
Date:
- Fri, 05 Mar 2021 19:37:47 GMT
- Tue, 13 Apr 2021 18:38:08 GMT
User-Agent:
- azsdk-python-communication-sms/1.0.0b5 Python/3.9.0 (Windows-10-10.0.19041-SP0)
- azsdk-python-communication-sms/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0)
x-ms-return-client-request-id:
- 'true'
method: POST
Expand All @@ -77,15 +77,15 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Fri, 05 Mar 2021 19:37:46 GMT
- Tue, 13 Apr 2021 18:38:08 GMT
ms-cv:
- a4HG1QiWf0u07hIJSeUs2w.0
- S/65ens12keVDGV4IohU4g.0
request-context:
- appId=
transfer-encoding:
- chunked
x-processing-time:
- 520ms
- 557ms
status:
code: 202
message: Accepted
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ interactions:
Content-Type:
- application/json
Date:
- Fri, 05 Mar 2021 19:37:48 GMT
- Tue, 13 Apr 2021 18:38:09 GMT
User-Agent:
- azsdk-python-communication-sms/1.0.0b5 Python/3.9.0 (Windows-10-10.0.19041-SP0)
- azsdk-python-communication-sms/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0)
x-ms-return-client-request-id:
- 'true'
method: POST
Expand All @@ -23,11 +23,11 @@ interactions:
string: '{"From": ["Invalid From phone number format"]}'
headers:
content-type: application/json; charset=utf-8
date: Fri, 05 Mar 2021 19:37:47 GMT
ms-cv: X3+7Z5l3CkuQo9Appa1aAA.0
date: Tue, 13 Apr 2021 18:38:09 GMT
ms-cv: QucM3d0xPEu+KcFVDrOwOw.0
request-context: appId=
transfer-encoding: chunked
x-processing-time: 13ms
x-processing-time: 11ms
status:
code: 400
message: Bad Request
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ interactions:
Content-Type:
- application/json
Date:
- Fri, 05 Mar 2021 19:37:48 GMT
- Tue, 13 Apr 2021 18:38:09 GMT
User-Agent:
- azsdk-python-communication-sms/1.0.0b5 Python/3.9.0 (Windows-10-10.0.19041-SP0)
- azsdk-python-communication-sms/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0)
x-ms-return-client-request-id:
- 'true'
method: POST
Expand All @@ -25,11 +25,11 @@ interactions:
headers:
api-supported-versions: 2020-07-20-preview1, 2020-08-20-preview, 2021-03-07
content-type: application/json; charset=utf-8
date: Fri, 05 Mar 2021 19:37:47 GMT
ms-cv: xqMpm6pOFU+3jP9DpCx5uw.0
date: Tue, 13 Apr 2021 18:38:10 GMT
ms-cv: XiBqPF17n0uN6sU/BdaG8A.0
request-context: appId=
transfer-encoding: chunked
x-processing-time: 279ms
x-processing-time: 403ms
status:
code: 202
message: Accepted
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ interactions:
Content-Type:
- application/json
User-Agent:
- azsdk-python-communication-sms/1.0.0b5 Python/3.9.0 (Windows-10-10.0.19041-SP0)
- azsdk-python-communication-sms/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0)
method: POST
uri: https://sanitized.communication.azure.com/sms?api-version=2021-03-07
response:
Expand All @@ -21,11 +21,11 @@ interactions:
headers:
api-supported-versions: 2020-07-20-preview1, 2020-08-20-preview, 2021-03-07
content-type: application/json; charset=utf-8
date: Fri, 05 Mar 2021 19:37:49 GMT
ms-cv: QyWWVYlSG0KPRPl9fcp32A.0
date: Tue, 13 Apr 2021 18:38:13 GMT
ms-cv: KUAqE6zPEkWUxs7nDfgQRQ.0
request-context: appId=
transfer-encoding: chunked
x-processing-time: 654ms
x-processing-time: 423ms
status:
code: 202
message: Accepted
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ interactions:
Content-Type:
- application/json
Date:
- Fri, 05 Mar 2021 19:37:50 GMT
- Tue, 13 Apr 2021 18:38:13 GMT
User-Agent:
- azsdk-python-communication-sms/1.0.0b5 Python/3.9.0 (Windows-10-10.0.19041-SP0)
- azsdk-python-communication-sms/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0)
x-ms-return-client-request-id:
- 'true'
method: POST
Expand All @@ -28,11 +28,11 @@ interactions:
headers:
api-supported-versions: 2020-07-20-preview1, 2020-08-20-preview, 2021-03-07
content-type: application/json; charset=utf-8
date: Fri, 05 Mar 2021 19:37:49 GMT
ms-cv: xW88NCGOnEqlhojCCdma4A.0
date: Tue, 13 Apr 2021 18:38:14 GMT
ms-cv: x7S22jrJvECxJVGZiDIbHA.0
request-context: appId=
transfer-encoding: chunked
x-processing-time: 520ms
x-processing-time: 565ms
status:
code: 202
message: Accepted
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ interactions:
Content-Type:
- application/json
Date:
- Fri, 05 Mar 2021 19:37:51 GMT
- Tue, 13 Apr 2021 18:38:14 GMT
User-Agent:
- azsdk-python-communication-sms/1.0.0b5 Python/3.9.0 (Windows-10-10.0.19041-SP0)
- azsdk-python-communication-sms/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0)
x-ms-return-client-request-id:
- 'true'
method: POST
Expand All @@ -25,11 +25,11 @@ interactions:
headers:
api-supported-versions: 2020-07-20-preview1, 2020-08-20-preview, 2021-03-07
content-type: application/json; charset=utf-8
date: Fri, 05 Mar 2021 19:37:51 GMT
ms-cv: y/mtKUmYwESAo3wmzBI5gg.0
date: Tue, 13 Apr 2021 18:38:15 GMT
ms-cv: QuTYQM60jk61jhpAbrjtpQ.0
request-context: appId=
transfer-encoding: chunked
x-processing-time: 786ms
x-processing-time: 415ms
status:
code: 202
message: Accepted
Expand Down
Loading

0 comments on commit 1019494

Please sign in to comment.