Skip to content

Commit

Permalink
refs #4564 test whether import_logs.py script can find the token_auth…
Browse files Browse the repository at this point in the history
… automatically
  • Loading branch information
tsteur committed Jan 31, 2014
1 parent ac77310 commit a361138
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/PHPUnit/Fixtures/ManySitesImportedLogs.php
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,9 @@ private function logVisitsWithStaticResolver()
{
$logFile = PIWIK_INCLUDE_PATH . '/tests/resources/access-logs/fake_logs.log'; # log file

// We do not pass the "--token_auth" parameter here to make sure import_logs.py finds the auth_token
// automatically if needed
$opts = array('--idsite' => $this->idSite,
'--token-auth' => self::getTokenAuth(),
'--recorders' => '4',
'--recorder-max-payload-size' => '2');

Expand All @@ -141,8 +142,9 @@ public function logVisitsWithDynamicResolver()
{
$logFile = PIWIK_INCLUDE_PATH . '/tests/resources/access-logs/fake_logs_dynamic.log'; # log file

// We do not pass the "--token_auth" parameter here to make sure import_logs.py finds the auth_token
// automatically if needed
$opts = array('--add-sites-new-hosts' => false,
'--token-auth' => self::getTokenAuth(),
'--recorders' => '4',
'--recorder-max-payload-size' => '1');

Expand Down

0 comments on commit a361138

Please sign in to comment.