diff --git a/tests/PHPUnit/Integration/Core/ArchiveProcessingTest.php b/tests/PHPUnit/Integration/Core/ArchiveProcessingTest.php index 7b6b1d7a919..4811c7756c9 100644 --- a/tests/PHPUnit/Integration/Core/ArchiveProcessingTest.php +++ b/tests/PHPUnit/Integration/Core/ArchiveProcessingTest.php @@ -125,7 +125,7 @@ private function compareTimestamps($expected, $processed) { // $messageIfFails = Date::factory($expected)->getDatetime() . " != " . Date::factory($processed)->getDatetime(); $messageIfFails = "Expected [$expected] but got [$processed]"; - $this->assertTrue( abs($expected-$processed) <=2 , $messageIfFails); + $this->assertTrue( abs($expected-$processed) <=4 , $messageIfFails); } /** diff --git a/tests/PHPUnit/Integration/Core/PiwikTest.php b/tests/PHPUnit/Integration/Core/PiwikTest.php index 2c15cd6f58d..c92607147ff 100644 --- a/tests/PHPUnit/Integration/Core/PiwikTest.php +++ b/tests/PHPUnit/Integration/Core/PiwikTest.php @@ -42,10 +42,10 @@ public function testJavascriptTrackingCode_withAllOptions() var _paq = _paq || []; _paq.push([\"setDocumentTitle\", document.domain + \"/\" + document.title]); // you can set up to 5 custom variables for each visitor - _paq.push([\"setCustomVariable\", 0, \"name\", \"value\", \"visit\"]); - _paq.push([\"setCustomVariable\", 1, \"name 2\", \"value 2\", \"visit\"]); + _paq.push([\"setCustomVariable\", 1, \"name\", \"value\", \"visit\"]); + _paq.push([\"setCustomVariable\", 2, \"name 2\", \"value 2\", \"visit\"]); // you can set up to 5 custom variables for each action (page view, download, click, site search) - _paq.push([\"setCustomVariable\", 0, \"page cvar\", \"page cvar value\", \"page\"]); + _paq.push([\"setCustomVariable\", 1, \"page cvar\", \"page cvar value\", \"page\"]); _paq.push([\"setCampaignNameKey\", \"campaignKey\"]); _paq.push([\"setCampaignKeywordKey\", \"keywordKey\"]); _paq.push([\"setDoNotTrack\", true]); diff --git a/tests/PHPUnit/UI b/tests/PHPUnit/UI index aeeec60d996..c7039d95b1c 160000 --- a/tests/PHPUnit/UI +++ b/tests/PHPUnit/UI @@ -1 +1 @@ -Subproject commit aeeec60d996fb1b5f70f1663750c5eefb861f50e +Subproject commit c7039d95b1c48ee9e2aee8580866e10932265976