diff options
author | Thomas Steur <thomas.steur@gmail.com> | 2015-08-31 13:57:40 +0300 |
---|---|---|
committer | Thomas Steur <thomas.steur@gmail.com> | 2015-08-31 13:57:40 +0300 |
commit | 8b45e0e64f14ef709c5f5f56073008c6b22b01c2 (patch) | |
tree | 18c5f190298767169a8b89ac231d020e483eb921 /tests/PHPUnit/System/ImportLogsTest.php | |
parent | c63bdfb10f1307e5e76e3de138afa03971feb458 (diff) |
added tests for piwik/piwik-log-analytics#97 to make sure idsite option is applied
Diffstat (limited to 'tests/PHPUnit/System/ImportLogsTest.php')
-rwxr-xr-x | tests/PHPUnit/System/ImportLogsTest.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/PHPUnit/System/ImportLogsTest.php b/tests/PHPUnit/System/ImportLogsTest.php index 353ea6bc69..952154b535 100755 --- a/tests/PHPUnit/System/ImportLogsTest.php +++ b/tests/PHPUnit/System/ImportLogsTest.php @@ -86,6 +86,17 @@ class ImportLogsTest extends SystemTestCase 'otherRequestParameters' => array( 'filter_limit' => 1000 ))); + + // imported via --replay-tracking --idsite=3 should ignore idSite from logs and use fixed idSite instead + $apis[] = array($apiMethods, array( + 'idSite' => 3, + 'date' => '2012-08-09,2014-04-01', + 'periods' => 'range', + 'otherRequestParameters' => array( + 'filter_limit' => 1000 + ), + 'testSuffix' => '_siteIdThree_TrackedUsingLogReplayWithFixedSiteId')); + return $apis; } |