Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
ResponseReplacerProcessor
)

SKIP_PHONE_NUMBER_TESTS = True
SKIP_PHONE_NUMBER_TESTS = False
PHONE_NUMBER_TEST_SKIP_REASON= "Phone Number infra for live tests not ready yet"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: remove this comment?


class SMSClientTest(CommunicationTestCase):
Expand All @@ -28,7 +28,7 @@ def setUp(self):
if self.is_playback():
self.phone_number = "+18000005555"
else:
self.phone_number = os.getenv("PHONE_NUMBER")
self.phone_number = os.getenv("AZURE_COMMUNICATION_SERVICE_PHONE_NUMBER")

self.recording_processors.extend([
BodyReplacerProcessor(keys=["to", "from", "messageId"]),
Expand Down
2 changes: 1 addition & 1 deletion sdk/communication/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
EnvVars:
AZURE_TEST_RUN_LIVE: 'true'
AZURE_TENANT_ID: $(aad-azure-sdk-test-tenant-id)
AZURE_SUBSCRIPTION_ID: $(azure-subscription-id)
AZURE_SUBSCRIPTION_ID: $(acs-subscription-id)
AZURE_CLIENT_SECRET: $(aad-azure-sdk-test-client-secret)
AZURE_CLIENT_ID: $(aad-azure-sdk-test-client-id)
AZURE_COMMUNICATION_SERVICE_CONNECTION_STRING: $(python-communication-connection-string)
Expand Down