Commit c2f4ab46 authored by Liam Morland's avatar Liam Morland
Browse files

ISTWCMS-3752: Use randomMachineName() for Tableau block URL tests

randomString() can return double-quote, which would not work in the
XPath tests below. These should not have special characters anyway.
parent ac46fb36
......@@ -779,8 +779,8 @@ class UwWcmsBasicTest extends BrowserTestBase {
$edit = [
'edit-settings-label' => $this->randomString(),
'edit-settings-block-form-field-uw-tbl-server' => 'Public',
'edit-settings-block-form-field-uw-tbl-site-name-0-value' => $this->randomString(),
'edit-settings-block-form-field-uw-tbl-tableau-name-0-value' => $this->randomString(),
'edit-settings-block-form-field-uw-tbl-site-name-0-value' => $this->randomMachineName(),
'edit-settings-block-form-field-uw-tbl-tableau-name-0-value' => $this->randomMachineName(),
'edit-settings-block-form-field-uw-tbl-tableau-height-0-value' => rand(100, 1000),
'edit-settings-block-form-field-uw-tbl-display-tabs' => 'Yes',
];
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment