diff options
author | Benaka Moorthi <benaka.moorthi@gmail.com> | 2013-06-27 07:37:56 +0400 |
---|---|---|
committer | Benaka Moorthi <benaka.moorthi@gmail.com> | 2013-06-27 07:37:56 +0400 |
commit | 880d57502bf5532ea7333e9e3bf3ae9721312404 (patch) | |
tree | 9119d3a54664f80989f76c98428f59473d304a64 /tests | |
parent | 21e72dd77b2a8f1069384aa689b0b8c508f6fd44 (diff) |
Investigating travis build failure... (48th commit)
Diffstat (limited to 'tests')
-rw-r--r-- | tests/PHPUnit/Fixtures/InvalidVisits.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/PHPUnit/Fixtures/InvalidVisits.php b/tests/PHPUnit/Fixtures/InvalidVisits.php index fe3131a67f..4ff455fe0b 100644 --- a/tests/PHPUnit/Fixtures/InvalidVisits.php +++ b/tests/PHPUnit/Fixtures/InvalidVisits.php @@ -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) { @@ -67,17 +67,17 @@ class Test_Piwik_Fixture_InvalidVisits extends Test_Piwik_BaseFixture // test with 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) (excludeduseragentstring)'); $t->setIp('211.1.2.3'); - self::checkResponse($t->doTrackPageView('visit from excluded User Agent')); + //self::checkResponse($t->doTrackPageView('visit from excluded User Agent')); // 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'); - self::checkResponse($t->doTrackPageView('visit from global excluded User Agent')); + //self::checkResponse($t->doTrackPageView('visit from global excluded User Agent')); // test with excluded IP $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)'); // restore normal user agent $t->setIp($excludedIp); - self::checkResponse($t->doTrackPageView('visit from IP excluded')); + //self::checkResponse($t->doTrackPageView('visit from IP excluded')); // test with global list of excluded IPs $excludedIpBis = '145.5.3.4'; |