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:
authorsgiehl <stefan@piwik.org>2017-06-28 14:14:57 +0300
committersgiehl <stefan@piwik.org>2017-06-28 14:14:57 +0300
commit5ac78ec083d74179f93dda533aa835c6c4726b8a (patch)
treeb172bef3e06b25677174c13751e9c0bc1122c214 /tests/PHPUnit
parent1d5bbb55a4ffdfa9c40ba68a8680a7208e26adb4 (diff)
fix test failing for mysqli
Diffstat (limited to 'tests/PHPUnit')
-rw-r--r--tests/PHPUnit/Integration/ArchiveTest.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/PHPUnit/Integration/ArchiveTest.php b/tests/PHPUnit/Integration/ArchiveTest.php
index df8ef4021c..da5879c843 100644
--- a/tests/PHPUnit/Integration/ArchiveTest.php
+++ b/tests/PHPUnit/Integration/ArchiveTest.php
@@ -25,6 +25,7 @@ use Piwik\Plugins\UserLanguage;
use Piwik\Segment;
use Piwik\Site;
use Piwik\Tests\Fixtures\OneVisitorTwoVisits;
+use Piwik\Tests\Framework\Fixture;
use Piwik\Tests\Framework\TestCase\IntegrationTestCase;
use Piwik\Period\Factory as PeriodFactory;
use Piwik\Archive\Chunk;
@@ -261,12 +262,11 @@ class ArchiveTest extends IntegrationTestCase
}
// track a new visits now
- $fixture = self::$fixture;
- $t = $fixture::getTracker(1, $date, $defaultInit = true);
+ $t = Fixture::getTracker(1, $date, $defaultInit = true);
$t->setForceVisitDateTime(Date::factory($date)->addHour(1)->getDatetime());
- $t->setUrl('http://example.org/index.htm');
+ $t->setUrl('http://site.com/index.htm');
$t->setBrowserLanguage('pt-br');
- $fixture::checkResponse($t->doTrackPageView('my site'));
+ Fixture::checkResponse($t->doTrackPageView('my_site'));
$archiveWriter = new ArchiveWriter($parameters, !!$idArchive);
$archiveWriter->idArchive = $idArchive;