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:
authordiosmosis <benaka@piwik.pro>2015-03-11 14:31:07 +0300
committerdiosmosis <benaka@piwik.pro>2015-03-11 14:31:07 +0300
commita1388b84ba44fb67b21b735ffe3b38060c0e94f9 (patch)
tree83ce5c30f2816be5d0ec380f91d56885d367f17c /tests
parent070135f195694a52552d3bafb687c7fcf7f6988c (diff)
Refactor AttributeHistoricalDataWithLocations for clarity, fixing IntegrationTestCase issue and fixing changes to RawLog...
Diffstat (limited to 'tests')
-rw-r--r--tests/PHPUnit/Fixtures/ManyVisitsWithGeoIP.php2
-rwxr-xr-xtests/PHPUnit/Framework/TestCase/SystemTestCase.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/PHPUnit/Fixtures/ManyVisitsWithGeoIP.php b/tests/PHPUnit/Fixtures/ManyVisitsWithGeoIP.php
index 3abb1ee414..f460758fbc 100644
--- a/tests/PHPUnit/Fixtures/ManyVisitsWithGeoIP.php
+++ b/tests/PHPUnit/Fixtures/ManyVisitsWithGeoIP.php
@@ -192,7 +192,7 @@ class ManyVisitsWithGeoIP extends Fixture
self::checkResponse($t->doTrackPageView('It\'s pitch black...'));
}
- private function setLocationProvider($file)
+ public function setLocationProvider($file)
{
GeoIp::$dbNames['loc'] = array($file);
GeoIp::$geoIPDatabaseDir = 'tests/lib/geoip-files';
diff --git a/tests/PHPUnit/Framework/TestCase/SystemTestCase.php b/tests/PHPUnit/Framework/TestCase/SystemTestCase.php
index fdec9cb09b..0681c151d5 100755
--- a/tests/PHPUnit/Framework/TestCase/SystemTestCase.php
+++ b/tests/PHPUnit/Framework/TestCase/SystemTestCase.php
@@ -566,7 +566,7 @@ abstract class SystemTestCase extends PHPUnit_Framework_TestCase
} else if (is_numeric($value)) {
$values[] = $value;
} else if (!ctype_print($value)) {
- $values[] = "x'" . bin2hex(substr($value, 1)) . "'";
+ $values[] = "x'" . bin2hex($value) . "'";
} else {
$values[] = "?";
$bind[] = $value;