Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormatt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105>2009-04-15 06:52:18 +0400
committermatt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105>2009-04-15 06:52:18 +0400
commit0c1721ab1dcf10b7b724f27008106f7a67270991 (patch)
treeb55a0aed647c7d92788735705fe97909f969186f
parentf25f0f35a0054c6ca042f012d0661e301782b79b (diff)
- checking that piwik compatible with new google result urls http://analytics.blogspot.com/2009/04/upcoming-change-to-googlecom-search.html
-rwxr-xr-xtests/core/Common.test.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/core/Common.test.php b/tests/core/Common.test.php
index 8afeab1361..574e5fe210 100755
--- a/tests/core/Common.test.php
+++ b/tests/core/Common.test.php
@@ -637,6 +637,9 @@ class Test_Piwik_Common extends UnitTestCase
'http://www.google.ge/search?hl=en&q=%E1%83%A1%E1%83%90%E1%83%A5%E1%83%90%E1%83%A0%E1%83%97%E1%83%95%E1%83%94%E1%83%9A%E1%83%9D&btnG=Google+Search'
=> array('name' => 'Google', 'keywords' => 'საქართველო'),
+ // new google url formats
+ 'http://www.google.com/url?sa=t&source=web&ct=res&cd=7&url=http%3A%2F%2Fwww.example.com%2Fmypage.htm&ei=0SjdSa-1N5O8M_qW8dQN&rct=j&q=flowers&usg=AFQjCNHJXSUh7Vw7oubPaO3tZOzz-F-u_w&sig2=X8uCFh6IoPtnwmvGMULQfw'
+ => array('name' => 'Google', 'keywords' => 'flowers')
);
foreach($urls as $refererUrl => $expectedReturnedValue) {