blob: 000dafcc2f6e00a89a501ec3082bea97e05e3b13 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
<?php
/**
* Piwik - free/libre analytics platform
*
* @link http://piwik.org
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*/
namespace Piwik\Tests\System;
use Piwik\Common;
use Piwik\Db;
use Piwik\Tests\Fixtures\Utf8mb4;
use Piwik\Tests\Framework\Fixture;
use Piwik\Tracker\Action;
use Piwik\Tests\Framework\TestCase\SystemTestCase;
use Piwik\Tests\Fixtures\OneVisitWithAbnormalPageviewUrls;
/**
* Tests for tracking parameters containing 4 byte UTF8 chars.
*
* @group Core
* @group Utf8mb4Test
*/
class Utf8mb4Test extends SystemTestCase
{
/** @var Utf8mb4 */
public static $fixture = null; // initialized below class definition
public function testApi()
{
$this->runApiTests(['Live.getLastVisitsDetails'], [
'idSite' => self::$fixture->idSite,
'date' => '2010-01-04',
'period' => 'year'
]);
}
public static function getOutputPrefix()
{
return 'Utf8mb4';
}
}
Utf8mb4Test::$fixture = new Utf8mb4();
|