Skip to content
Extraits de code Groupes Projets
Valider 0841a4c8 rédigé par Thomas Steur's avatar Thomas Steur
Parcourir les fichiers

fix system test, looks like an expanded parameter is now sent by default

parent bc495aee
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -8,10 +8,7 @@ ...@@ -8,10 +8,7 @@
namespace Piwik\Plugins\Referrers\tests\System; namespace Piwik\Plugins\Referrers\tests\System;
use Piwik\Plugins\Referrers\tests\Fixtures\SimpleFixtureTrackFewVisits;
use Piwik\Tests\Fixtures\OneVisitorTwoVisits;
use Piwik\Tests\Fixtures\TwoSitesManyVisitsOverSeveralDaysWithSearchEngineReferrers; use Piwik\Tests\Fixtures\TwoSitesManyVisitsOverSeveralDaysWithSearchEngineReferrers;
use Piwik\Tests\Fixtures\TwoSitesTwoVisitorsDifferentDays;
use Piwik\Tests\Framework\TestCase\SystemTestCase; use Piwik\Tests\Framework\TestCase\SystemTestCase;
/** /**
...@@ -22,7 +19,7 @@ use Piwik\Tests\Framework\TestCase\SystemTestCase; ...@@ -22,7 +19,7 @@ use Piwik\Tests\Framework\TestCase\SystemTestCase;
class ApiTest extends SystemTestCase class ApiTest extends SystemTestCase
{ {
/** /**
* @var SimpleFixtureTrackFewVisits * @var TwoSitesManyVisitsOverSeveralDaysWithSearchEngineReferrers
*/ */
public static $fixture = null; // initialized below class definition public static $fixture = null; // initialized below class definition
...@@ -50,7 +47,8 @@ class ApiTest extends SystemTestCase ...@@ -50,7 +47,8 @@ class ApiTest extends SystemTestCase
'apiAction' => 'getReferrerType', 'apiAction' => 'getReferrerType',
'date' => '2010-01-01,2010-03-10', 'date' => '2010-01-01,2010-03-10',
'periods' => array('day'), 'periods' => array('day'),
'testSuffix' => 'Referrers_getReferrerType' 'testSuffix' => 'Referrers_getReferrerType',
'otherRequestParameters' => array('expanded' => 0)
) )
); );
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter