Skip to content

Commit 8bc1ce2

Browse files
committed
Set default for EXTERNAL_URL_FOR_CXML
1 parent a8d8e2c commit 8bc1ce2

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

internal/e2e-js/tests/callfabric/agent_customer.spec.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,11 +134,13 @@ test.describe(agent_customer_static_scripts_desc, () => {
134134

135135
const agent_customer_external_url_desc = 'CallFabric Agent/Customer interaction, cXML with external URL'
136136
test.describe(agent_customer_external_url_desc, () => {
137+
const external_url_for_cxml = process.env.EXTERNAL_URL_FOR_CXML || 'https://us-central1-video-load-testing-with-gcf.cloudfunctions.net/gcf-external-url'
138+
137139
const cXMLExternalURLAgent = {
138-
call_handler_url: `${process.env.EXTERNAL_URL_FOR_CXML}`
140+
call_handler_url: external_url_for_cxml
139141
}
140142
const cXMLExternalURLCustomer = {
141-
call_handler_url: `${process.env.EXTERNAL_URL_FOR_CXML}`
143+
call_handler_url: external_url_for_cxml
142144
}
143145

144146
const test_uuid = `${uuid()}`

0 commit comments

Comments
 (0)