diff options
author | Ben Burgess <88810029+bx80@users.noreply.github.com> | 2021-10-04 07:01:04 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-04 07:01:04 +0300 |
commit | 2404b24c3a52f04475b63f300269a129399882ec (patch) | |
tree | 421e1a81c7f554561bec2cf8385d44ad478ed97f /tests/PHPUnit/Fixtures | |
parent | deff627a8e9a4c476ba59cfe57c3797f65679c4f (diff) |
JavaScript tracker exclude query parameters (#18031)
Adds a new option to the JavaScript tracker to exclude query parameters from the tracked URL.
Co-authored-by: bx80 <bx80@users.noreply.github.com>
Co-authored-by: sgiehl <stefan@matomo.org>
Diffstat (limited to 'tests/PHPUnit/Fixtures')
-rw-r--r-- | tests/PHPUnit/Fixtures/UITestFixture.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/PHPUnit/Fixtures/UITestFixture.php b/tests/PHPUnit/Fixtures/UITestFixture.php index a862e3eef5..724953f8c0 100644 --- a/tests/PHPUnit/Fixtures/UITestFixture.php +++ b/tests/PHPUnit/Fixtures/UITestFixture.php @@ -322,7 +322,11 @@ class UITestFixture extends SqlDump private function addNewSitesForSiteSelector() { for ($i = 0; $i != 8; ++$i) { - self::createWebsite("2011-01-01 00:00:00", $ecommerce = 1, $siteName = "Site #$i", $siteUrl = "http://site$i.com"); + self::createWebsite("2011-01-01 00:00:00", $ecommerce = 1, $siteName = "Site #$i", + $siteUrl = "http://site$i.com", 1, null, null, + null, null, 0, + implode(',', [$this->xssTesting->forTwig('excludedparameter'), + $this->xssTesting->forAngular('excludedparameter'),'sid'])); } } |