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:
Diffstat (limited to 'tests/PHPUnit/Benchmarks/ArchivingProcessBenchmark.php')
-rwxr-xr-xtests/PHPUnit/Benchmarks/ArchivingProcessBenchmark.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/PHPUnit/Benchmarks/ArchivingProcessBenchmark.php b/tests/PHPUnit/Benchmarks/ArchivingProcessBenchmark.php
index ad5d4504f8..294ec73a12 100755
--- a/tests/PHPUnit/Benchmarks/ArchivingProcessBenchmark.php
+++ b/tests/PHPUnit/Benchmarks/ArchivingProcessBenchmark.php
@@ -5,6 +5,8 @@
* @link http://piwik.org
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*/
+use Piwik\Plugins\VisitsSummary\API;
+
require_once PIWIK_INCLUDE_PATH . '/tests/PHPUnit/BenchmarkTestCase.php';
/**
@@ -23,7 +25,7 @@ class ArchivingProcessBenchmark extends BenchmarkTestCase
*/
public function testArchivingProcess()
{
- Piwik_VisitsSummary_API::getInstance()->get(
+ API::getInstance()->get(
self::$fixture->idSite, self::$fixture->period, self::$fixture->date);
}
}