Skip to content
Extraits de code Groupes Projets
Valider 21145d45 rédigé par Benaka Moorthi's avatar Benaka Moorthi
Parcourir les fichiers

Investigating travis build failure... (33rd commit)

parent eaba66dd
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -54,7 +54,7 @@ class Test_Piwik_Fixture_InvalidVisits extends Test_Piwik_BaseFixture
// test GoogleBot UA visitor
$t->setUserAgent('Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)');
//self::checkResponse($t->doTrackPageView('bot visit, please do not record'));
self::checkResponse($t->doTrackPageView('bot visit, please do not record'));
// Test IP Exclusion works with or without IP exclusion
foreach (array(false, true) as $enable) {
......@@ -68,7 +68,7 @@ class Test_Piwik_Fixture_InvalidVisits extends Test_Piwik_BaseFixture
$t->setUserAgent('Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.6) Gecko/20100625 Firefox/3.6.6 (.NET CLR 3.5.30729) (excludeduseragentstring)');
$t->setIp('211.1.2.3');
self::checkResponse($t->doTrackPageView('visit from excluded User Agent'));
return;
// test w/ global excluded User Agent
$t->setUserAgent('Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.6) Gecko/20100625 Firefox/3.6.6 (.NET CLR 3.5.30729) (globalexcludeduseragent)');
$t->setIp('211.1.2.3');
......
......@@ -29,13 +29,13 @@ class Test_Piwik_Integration_NoVisit extends IntegrationTestCase
{
// this will output empty XML result sets as no visit was tracked
return array(
array('VisitsSummary.get', array('idSite' => self::$fixture->idSite,
array('all', array('idSite' => self::$fixture->idSite,
'date' => self::$fixture->dateTime)),
/*array('all', array('idSite' => self::$fixture->idSite,
array('all', array('idSite' => self::$fixture->idSite,
'date' => self::$fixture->dateTime,
'periods' => array('day', 'week'),
'setDateLastN' => true,
'testSuffix' => '_PeriodIsLast')),*/
'testSuffix' => '_PeriodIsLast')),
);
}
......
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