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 <thomas.steur@gmail.com>2015-08-31 13:57:40 +0300
committerThomas Steur <thomas.steur@gmail.com>2015-08-31 13:57:40 +0300
commit8b45e0e64f14ef709c5f5f56073008c6b22b01c2 (patch)
tree18c5f190298767169a8b89ac231d020e483eb921 /tests/PHPUnit/System/ImportLogsTest.php
parentc63bdfb10f1307e5e76e3de138afa03971feb458 (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-xtests/PHPUnit/System/ImportLogsTest.php11
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;
}