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:
authordiosmosis <diosmosis@users.noreply.github.com>2019-10-02 23:33:32 +0300
committerThomas Steur <tsteur@users.noreply.github.com>2019-10-02 23:33:32 +0300
commit9e34ecd4ff43d19dee4b4e881545302d07887bb7 (patch)
treed10e41e1c860a53fc9d915640278fcf241f457e0 /tests/PHPUnit/Integration
parentf64e2e2ae4ed7197b76cd582709da71a4e065757 (diff)
Proper encoding of segment values for Actions reports. (#13481)
Diffstat (limited to 'tests/PHPUnit/Integration')
-rw-r--r--tests/PHPUnit/Integration/SegmentTest.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/PHPUnit/Integration/SegmentTest.php b/tests/PHPUnit/Integration/SegmentTest.php
index 1c0b6f6921..8b23ce59ac 100644
--- a/tests/PHPUnit/Integration/SegmentTest.php
+++ b/tests/PHPUnit/Integration/SegmentTest.php
@@ -1424,13 +1424,13 @@ log_visit.visit_total_actions
$this->assertCacheWasHit($hits = 0);
$this->test_getSelectQuery_whenPageUrlDoesNotExist_asBothStatements_OR_AND_withCacheSave();
- $this->assertCacheWasHit($hits = 0);
+ $this->assertCacheWasHit($hits = 8);
$this->test_getSelectQuery_whenPageUrlDoesNotExist_asBothStatements_OR_AND_withCacheSave();
- $this->assertCacheWasHit($hits = 4);
+ $this->assertCacheWasHit($hits = 20);
$this->test_getSelectQuery_whenPageUrlDoesNotExist_asBothStatements_OR_AND_withCacheSave();
- $this->assertCacheWasHit($hits = 4 + 4);
+ $this->assertCacheWasHit($hits = 32);
}
@@ -1494,11 +1494,11 @@ log_visit.visit_total_actions
// this will create the caches for both segments
$this->test_getSelectQuery_withTwoSegments_subqueryNotCached_whenResultsetTooLarge();
- $this->assertCacheWasHit($hits = 0);
+ $this->assertCacheWasHit($hits = 4);
// this will hit caches for both segments
$this->test_getSelectQuery_withTwoSegments_subqueryNotCached_whenResultsetTooLarge();
- $this->assertCacheWasHit($hits = 2);
+ $this->assertCacheWasHit($hits = 10);
}
// se https://github.com/piwik/piwik/issues/9194