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 dd31b42
Show file tree
Hide file tree
Showing 3 changed files with 68 additions and 68 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 @@ -29,9 +30,7 @@ describe("Call Connection Live Test", function() {
beforeEach(async function(this: Context) {
recorder = record(this, environmentSetup);
/* Place your code here*/
connectionString =
env.COMMUNICATION_LIVETEST_STATIC_CONNECTION_STRING ||
"endpoint=https://endpoint/;accesskey=banana";
connectionString = env.COMMUNICATION_LIVETEST_STATIC_CONNECTION_STRING;
});

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

0 comments on commit dd31b42

Please sign in to comment.