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:
authorThomas Steur <tsteur@users.noreply.github.com>2020-09-22 05:50:08 +0300
committerGitHub <noreply@github.com>2020-09-22 05:50:08 +0300
commit780c5ab50e2afdb9db506d5645d80ab1b1e15e8c (patch)
treeea1a8f606c21eef759132e2d21e856f1618ad9bf /tests/javascript/index.php
parent39b3c7d211e358923bd2cb4b7422720edce85f7f (diff)
Fix JS test (#16458)
Diffstat (limited to 'tests/javascript/index.php')
-rw-r--r--tests/javascript/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/javascript/index.php b/tests/javascript/index.php
index f9bc6ed18f..712a953b22 100644
--- a/tests/javascript/index.php
+++ b/tests/javascript/index.php
@@ -4883,7 +4883,7 @@ if ($mysql) {
strictEqual(tracker.hasRememberedConsent(), true, "rememberConsentGiven, sets cookie to remember consent" );
var rememberedConsent = tracker.getRememberedConsent();
strictEqual(String(rememberedConsent).length, 13, "getRememberedConsent, returns the data in milliseconds eg '1522200406749'" );
- strictEqual(String(rememberedConsent).substr(0, 2), '15', "getRememberedConsent, starts with correct data" );
+ strictEqual(String(rememberedConsent).substr(0, 2), '16', "getRememberedConsent, starts with correct data" );
tracker.requireConsent();
strictEqual(tracker.hasConsent(), true, "when requiring consent, and we remembered consent, consent should be given" );