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
path: root/tests
diff options
context:
space:
mode:
authorBenaka Moorthi <benaka.moorthi@gmail.com>2013-10-07 00:47:11 +0400
committerBenaka Moorthi <benaka.moorthi@gmail.com>2013-10-07 00:47:22 +0400
commit6c11ad21c86a3bac8111d5a4c08bc635984d2129 (patch)
treeff7d27edc8483e65ee0a39f0247e011e1855f843 /tests
parent57501bfc33ed680cdde8c9177e8dc0ea42005011 (diff)
Removed Piwik::log and replace with calls to Log::... functions. Also changed logging level on travis.
Diffstat (limited to 'tests')
-rw-r--r--tests/PHPUnit/Integration/ArchiveCronTest.php2
-rw-r--r--tests/PHPUnit/Plugins/UserCountryTest.php2
-rw-r--r--tests/PHPUnit/config.ini.travis.php3
3 files changed, 4 insertions, 3 deletions
diff --git a/tests/PHPUnit/Integration/ArchiveCronTest.php b/tests/PHPUnit/Integration/ArchiveCronTest.php
index ba96ed231a..744d149ca8 100644
--- a/tests/PHPUnit/Integration/ArchiveCronTest.php
+++ b/tests/PHPUnit/Integration/ArchiveCronTest.php
@@ -124,7 +124,7 @@ class Test_Piwik_Integration_ArchiveCronTest extends IntegrationTestCase
// run the command
exec($cmd, $output, $result);
if ($result !== 0) {
- throw new Exception("log importer failed: " . implode("\n", $output) . "\n\ncommand used: $cmd");
+ throw new Exception("archive cron failed: " . implode("\n", $output) . "\n\ncommand used: $cmd");
}
return $output;
diff --git a/tests/PHPUnit/Plugins/UserCountryTest.php b/tests/PHPUnit/Plugins/UserCountryTest.php
index 4d1be73b94..033e13ee16 100644
--- a/tests/PHPUnit/Plugins/UserCountryTest.php
+++ b/tests/PHPUnit/Plugins/UserCountryTest.php
@@ -129,7 +129,7 @@ class Test_Piwik_UserCountry extends PHPUnit_Framework_Testcase
public function setUp()
{
- Piwik::$shouldLog = null;
+ // empty
}
public function tearDown()
diff --git a/tests/PHPUnit/config.ini.travis.php b/tests/PHPUnit/config.ini.travis.php
index 3c19606cc2..2c879461c4 100644
--- a/tests/PHPUnit/config.ini.travis.php
+++ b/tests/PHPUnit/config.ini.travis.php
@@ -17,4 +17,5 @@ tables_prefix = piwiktests_
;charset = utf8
[log]
-logger_message[] = file \ No newline at end of file
+log_writers[] = file
+log_level = debug \ No newline at end of file