Skip to content

Commit 1b559a9

Browse files
minnieliuMinnie Liu
andauthored
[Communication] - SMS - Re-enabling Unauthorized Number SMS Test (Azure#20642)
* Re-enabling Unauthorized Number SMS Test * Update recordings Co-authored-by: Minnie Liu <peiliu@microsoft.com>
1 parent c099967 commit 1b559a9

File tree

3 files changed

+17
-24
lines changed

3 files changed

+17
-24
lines changed

sdk/communication/Azure.Communication.Sms/tests/SessionRecords/SmsClientLiveTests/SendingSmsMessageFromUnauthorizedNumber.json

Lines changed: 8 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/communication/Azure.Communication.Sms/tests/SessionRecords/SmsClientLiveTests/SendingSmsMessageFromUnauthorizedNumberAsync.json

Lines changed: 8 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/communication/Azure.Communication.Sms/tests/SmsClientLiveTests.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,7 @@ public async Task SendingSmsMessageFromUnauthorizedNumber()
126126
catch (RequestFailedException ex)
127127
{
128128
Assert.IsNotEmpty(ex.Message);
129-
// TODO: re-enable this when service change is made
130-
// Assert.True(ex.Message.Contains("401"));
129+
Assert.True(ex.Message.Contains("401"));
131130
Console.WriteLine(ex.Message);
132131
}
133132
catch (Exception ex)

0 commit comments

Comments
 (0)