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 <benaka@piwik.pro>2015-08-25 22:13:17 +0300
committerdiosmosis <benaka@piwik.pro>2015-09-01 23:08:18 +0300
commitce2dfe180b222176b0c7022a3f024fa2b036d5df (patch)
tree9ef6cfdb0c99b1409a598b0af71dc88687720e00 /tests/PHPUnit/Fixtures/ManySitesImportedLogs.php
parent48ababe8bc86b73e592daea171211dbf9c6ab148 (diff)
Adding tests for related log importer PR here: https://github.com/piwik/piwik-log-analytics/pull/94
Diffstat (limited to 'tests/PHPUnit/Fixtures/ManySitesImportedLogs.php')
-rw-r--r--tests/PHPUnit/Fixtures/ManySitesImportedLogs.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/PHPUnit/Fixtures/ManySitesImportedLogs.php b/tests/PHPUnit/Fixtures/ManySitesImportedLogs.php
index 133f490889..3a107c26bd 100644
--- a/tests/PHPUnit/Fixtures/ManySitesImportedLogs.php
+++ b/tests/PHPUnit/Fixtures/ManySitesImportedLogs.php
@@ -192,7 +192,7 @@ class ManySitesImportedLogs extends Fixture
* Logs a couple visits for the site we created and two new sites that do not
* exist yet. Visits are from Aug 12, 13 & 14 of 2012.
*/
- public function logVisitsWithDynamicResolver()
+ public function logVisitsWithDynamicResolver($maxPayloadSize = 1)
{
$logFile = PIWIK_INCLUDE_PATH . '/tests/resources/access-logs/fake_logs_dynamic.log'; # log file
@@ -201,8 +201,8 @@ class ManySitesImportedLogs extends Fixture
$opts = array('--add-sites-new-hosts' => false,
'--enable-testmode' => false,
'--recorders' => '1',
- '--recorder-max-payload-size' => '1');
- self::executeLogImporter($logFile, $opts);
+ '--recorder-max-payload-size' => $maxPayloadSize);
+ return implode("\n", self::executeLogImporter($logFile, $opts));
}
/**