Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsgiehl <stefan@matomo.org>2021-10-26 15:25:17 +0300
committersgiehl <stefan@matomo.org>2021-10-26 15:25:17 +0300
commit777febd5be1e529b6507fa291c14961cf9333a5b (patch)
tree4518ade529f2951d947908ba0a4e8f5c8a42dbac
parentb3866c9698047ab72e91d22d6645d535e9cf11c1 (diff)
fix testfix11796
-rw-r--r--tests/PHPUnit/Fixtures/UITestFixture.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/PHPUnit/Fixtures/UITestFixture.php b/tests/PHPUnit/Fixtures/UITestFixture.php
index 47b51bdbcb..f3414885ef 100644
--- a/tests/PHPUnit/Fixtures/UITestFixture.php
+++ b/tests/PHPUnit/Fixtures/UITestFixture.php
@@ -100,11 +100,11 @@ class UITestFixture extends SqlDump
SitesManagerAPI::getInstance()->updateSite(1, null, null, true);
// create non super user
- UsersManagerAPI::getInstance()->addUser('oliverqueen', 'smartypants', $this->xssTesting->forTwig('useremail').'@queenindustries.com');
+ UsersManagerAPI::getInstance()->addUser('oliverqueen', 'smartypants', '"' . $this->xssTesting->forTwig('useremail').'"@queenindustries.com');
UsersManagerAPI::getInstance()->setUserAccess('oliverqueen', 'view', array(1));
// another non super user
- UsersManagerAPI::getInstance()->addUser('anotheruser', 'anotheruser', $this->xssTesting->forTwig('superuseremail').'@email.com');
+ UsersManagerAPI::getInstance()->addUser('anotheruser', 'anotheruser', '"' . $this->xssTesting->forTwig('superuseremail').'"@email.com');
UsersManagerAPI::getInstance()->setUserAccess('anotheruser', 'view', array(1));
// add xss scheduled report