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:
authorsgiehl <stefan@piwik.org>2016-05-06 21:49:23 +0300
committersgiehl <stefan@piwik.org>2016-07-13 20:22:14 +0300
commit10e8f5ebdf39180bb19636961f52ffc45a395076 (patch)
tree046689af51f8171d6ab1902a23a6c0f53e3a79ac /plugins/Referrers/tests
parent7e5d7148e91514a192c11ea2b5a94097de63b557 (diff)
Improve detection for empty keywords by allowing to define that in search engine definitions
Diffstat (limited to 'plugins/Referrers/tests')
-rw-r--r--plugins/Referrers/tests/Unit/SearchEngineTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Referrers/tests/Unit/SearchEngineTest.php b/plugins/Referrers/tests/Unit/SearchEngineTest.php
index e9f0c926ea..1b5cab4dbc 100644
--- a/plugins/Referrers/tests/Unit/SearchEngineTest.php
+++ b/plugins/Referrers/tests/Unit/SearchEngineTest.php
@@ -121,7 +121,7 @@ class SearchEngineTest extends \PHPUnit_Framework_TestCase
public function testMissingSearchEngineKeyword($url, $searchEngine)
{
$name = parse_url('http://' . $url);
- $this->assertTrue(!empty($searchEngine['params']), $name['host']);
+ $this->assertTrue(!empty($searchEngine['params']) || !empty($searchEngine['hiddenkeyword']), $name['host']);
}
/**