File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
azure-communication-administration/src/test/java/com/azure/communication/administration
azure-communication-chat/src/test/java/com/azure/communication/chat
azure-communication-sms/src/test/java/com/azure/communication/sms Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 2121public class CommunicationIdentityClientTestBase extends TestBase {
2222 protected static final TestMode TEST_MODE = initializeTestMode ();
2323 protected static final String ENDPOINT = Configuration .getGlobalConfiguration ()
24- .get ("ADMINISTRATION_SERVICE_ENDPOINT " , "https://REDACTED.communication.azure.com" );
24+ .get ("COMMUNICATION_SERVICE_ENDPOINT " , "https://REDACTED.communication.azure.com" );
2525
2626 protected static final String ACCESSKEYRAW = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c" ;
2727 protected static final String ACCESSKEYENCODED = Base64 .getEncoder ().encodeToString (ACCESSKEYRAW .getBytes ());
2828 protected static final String ACCESSKEY = Configuration .getGlobalConfiguration ()
29- .get ("ADMINISTRATION_SERVICE_ACCESS_TOKEN " , ACCESSKEYENCODED );
29+ .get ("COMMUNICATION_SERVICE_ACCESS_KEY " , ACCESSKEYENCODED );
3030
3131 protected static final String CONNECTION_STRING = Configuration .getGlobalConfiguration ()
3232 .get ("COMMUNICATION_CONNECTION_STRING" , "endpoint=https://REDACTED.communication.azure.com/;accesskey=" + ACCESSKEYENCODED );
Original file line number Diff line number Diff line change @@ -35,10 +35,10 @@ public class ChatClientTestBase extends TestBase {
3535 protected static final TestMode TEST_MODE = initializeTestMode ();
3636
3737 protected static final String ENDPOINT = Configuration .getGlobalConfiguration ()
38- .get ("CHAT_SERVICE_ENDPOINT " , "https://playback.chat.azurefd.net" );
38+ .get ("COMMUNICATION_SERVICE_ENDPOINT " , "https://playback.chat.azurefd.net" );
3939
4040 protected static final String ACCESS_KEY = Configuration .getGlobalConfiguration ()
41- .get ("COMMUNICATION_SERVICES_ACCESS_KEY " , "pw==" );
41+ .get ("COMMUNICATION_SERVICE_ACCESS_KEY " , "pw==" );
4242
4343 protected ChatClientBuilder getChatClientBuilder (String token , HttpClient httpClient ) {
4444 ChatClientBuilder builder = new ChatClientBuilder ();
Original file line number Diff line number Diff line change @@ -24,10 +24,10 @@ public class SmsLiveTestBase extends TestBase {
2424 .get ("SMS_SERVICE_PHONE_NUMBER" , "+18005555555" );
2525
2626 static final String ACCESSKEY = Configuration .getGlobalConfiguration ()
27- .get ("SMS_SERVICE_ACCESS_KEY " , DEFAULT_ACCESS_KEY );
27+ .get ("COMMUNICATION_SERVICE_ACCESS_KEY " , DEFAULT_ACCESS_KEY );
2828
2929 static final String ENDPOINT = Configuration .getGlobalConfiguration ()
30- .get ("SMS_SERVICE_ENDPOINT " , "https://REDACTED.communication.azure.com" );
30+ .get ("COMMUNICATION_SERVICE_ENDPOINT " , "https://REDACTED.communication.azure.com" );
3131
3232 static final String CONNECTION_STRING = Configuration .getGlobalConfiguration ()
3333 .get ("COMMUNICATION_LIVETEST_CONNECTION_STRING" , "endpoint=https://REDACTED.communication.azure.com/;accesskey=VGhpcyBpcyBhIHRlc3Q=" );
You can’t perform that action at this time.
0 commit comments