Skip to content

Commit

Permalink
Fix call automation live test
Browse files Browse the repository at this point in the history
  • Loading branch information
zihzhan-msft committed Nov 3, 2021
1 parent df654d8 commit cc7e95c
Show file tree
Hide file tree
Showing 3 changed files with 68 additions and 67 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ import * as Constants from "./utils/constants";
import { CommunicationIdentityClient } from "@azure/communication-identity";
import { PhoneNumberIdentifier } from "@azure/communication-common";
const replaceableVariables: { [k: string]: string } = {
COMMUNICATION_LIVETEST_STATIC_CONNECTION_STRING: "endpoint=https://endpoint/;accesskey=banana"
COMMUNICATION_LIVETEST_STATIC_CONNECTION_STRING: "endpoint=https://endpoint/;accesskey=banana",
AZURE_PHONE_NUMBER: "+15551234567"
};

const environmentSetup: RecorderEnvironmentSetup = {
Expand All @@ -30,8 +31,7 @@ describe("Call Connection Live Test", function() {
recorder = record(this, environmentSetup);
/* Place your code here*/
connectionString =
env.COMMUNICATION_LIVETEST_STATIC_CONNECTION_STRING ||
"endpoint=https://endpoint/;accesskey=banana";
env.COMMUNICATION_LIVETEST_STATIC_CONNECTION_STRING;
});

afterEach(async function(this: Context) {
Expand Down

0 comments on commit cc7e95c

Please sign in to comment.