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:
authormattab <matthieu.aubry@gmail.com>2014-11-17 07:30:29 +0300
committermattab <matthieu.aubry@gmail.com>2014-11-17 07:30:29 +0300
commit5471b147ec88e08fb2c8699f70676a9af369e67f (patch)
treec928e51698aa67543e261d8a90d20c84ad61c305 /tests/PHPUnit/System/TwoVisitsWithCustomVariablesSegmentMatchNONETest.php
parentf45a2a33080856cf2dc69f0c0020da0899d9b556 (diff)
Setup custom variables in DB to be able to test those custom variables segments
Diffstat (limited to 'tests/PHPUnit/System/TwoVisitsWithCustomVariablesSegmentMatchNONETest.php')
-rwxr-xr-xtests/PHPUnit/System/TwoVisitsWithCustomVariablesSegmentMatchNONETest.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/PHPUnit/System/TwoVisitsWithCustomVariablesSegmentMatchNONETest.php b/tests/PHPUnit/System/TwoVisitsWithCustomVariablesSegmentMatchNONETest.php
index 47624495f2..e76be8f1dc 100755
--- a/tests/PHPUnit/System/TwoVisitsWithCustomVariablesSegmentMatchNONETest.php
+++ b/tests/PHPUnit/System/TwoVisitsWithCustomVariablesSegmentMatchNONETest.php
@@ -8,6 +8,7 @@
namespace Piwik\Tests\System;
use Piwik\Plugins\API\API;
+use Piwik\Plugins\CustomVariables\Model;
use Piwik\Tests\Framework\TestCase\SystemTestCase;
use Piwik\Tests\Fixtures\TwoVisitsWithCustomVariables;
use Piwik\Tests\Framework\Fixture;
@@ -51,6 +52,7 @@ class TwoVisitsWithCustomVariablesSegmentMatchNONETest extends SystemTestCase
{
// Refresh cache for CustomVariables\Model
Cache::clearCacheGeneral();
+ Model::install();
// Segment matching NONE
$segments = API::getInstance()->getSegmentsMetadata(self::$fixture->idSite);