Skip to content
Extraits de code Groupes Projets
Valider 2c79c318 rédigé par mattab's avatar mattab
Parcourir les fichiers

Adding test case + minor test fixes

parent a80d800f
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -218,7 +218,7 @@ class Tracker
public function main($args = null)
{
$tokenAuth = $this->initRequests($args);
$isAuthenticated = false;
if (!empty($this->requests)) {
foreach ($this->requests as $params) {
$request = new Request($params, $tokenAuth);
......
......@@ -163,6 +163,21 @@ class Test_Piwik_Integration_RowEvolution extends IntegrationTestCase
'label' => 'Firefox,Chrome,Opera'
)
));
// test Row Evolution on Desktop VS Mobile, special "view" report
$return[] = array('API.getRowEvolution', array(
'testSuffix' => '_mobileDesktop',
'periods' => 'day',
'idSite' => $idSite2,
'date' => $today,
'otherRequestParameters' => array(
'date' => '2010-03-01,2010-03-06',
'period' => 'month',
'apiModule' => 'UserSettings',
'apiAction' => 'getMobileVsDesktop',
'label' => 'Desktop,Mobile'
)
));
// test multi row evolution w/ filter_limit to limit all available labels
$return[] = array('API.getRowEvolution', array(
......
......@@ -26,7 +26,7 @@
<br/>
<a style="text-decoration:none; color: rgb(126,115,99); font-size: 9pt" href="#reportTop">
<a style="text-decoration:none; color: rgb(126,115,99); font-size: 9pt;" href="#reportTop">
Back to top
</a>
</body>
......
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