diff options
author | diosmosis <diosmosis@users.noreply.github.com> | 2019-10-02 23:33:32 +0300 |
---|---|---|
committer | Thomas Steur <tsteur@users.noreply.github.com> | 2019-10-02 23:33:32 +0300 |
commit | 9e34ecd4ff43d19dee4b4e881545302d07887bb7 (patch) | |
tree | d10e41e1c860a53fc9d915640278fcf241f457e0 /tests/PHPUnit/Integration | |
parent | f64e2e2ae4ed7197b76cd582709da71a4e065757 (diff) |
Proper encoding of segment values for Actions reports. (#13481)
Diffstat (limited to 'tests/PHPUnit/Integration')
-rw-r--r-- | tests/PHPUnit/Integration/SegmentTest.php | 10 |
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 |