diff options
author | mattab <matthieu.aubry@gmail.com> | 2014-11-17 07:30:29 +0300 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2014-11-17 07:30:29 +0300 |
commit | 5471b147ec88e08fb2c8699f70676a9af369e67f (patch) | |
tree | c928e51698aa67543e261d8a90d20c84ad61c305 /tests/PHPUnit/System/TwoVisitsWithCustomVariablesSegmentMatchNONETest.php | |
parent | f45a2a33080856cf2dc69f0c0020da0899d9b556 (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-x | tests/PHPUnit/System/TwoVisitsWithCustomVariablesSegmentMatchNONETest.php | 2 |
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); |