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:
Diffstat (limited to 'tests/PHPUnit/Plugins/UserSettingsTest.php')
-rw-r--r--tests/PHPUnit/Plugins/UserSettingsTest.php7
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/PHPUnit/Plugins/UserSettingsTest.php b/tests/PHPUnit/Plugins/UserSettingsTest.php
index a6dfc860f9..fb99c787a6 100644
--- a/tests/PHPUnit/Plugins/UserSettingsTest.php
+++ b/tests/PHPUnit/Plugins/UserSettingsTest.php
@@ -168,7 +168,7 @@ class UserSettingsTest extends PHPUnit_Framework_TestCase
array('BLB', 'BlackBerry', 'BlackBerry'))),
array('Mozilla/5.0 (PlayBook; U; RIM Tablet OS 1.0.0; en-US) AppleWebKit/534.11+ (KHTML, like Gecko) Version/0.0.1 Safari/534.11+', array(
- array('BP', 'PlayBook', 'PlayBook', '0.0', '0', '0', 'webkit' ),
+ array('BP', 'PlayBook', 'PlayBook', '0.0', '0', '0', 'webkit'),
array('QNX', 'QNX', 'QNX'))),
// BrowseX
@@ -1002,10 +1002,9 @@ class UserSettingsTest extends PHPUnit_Framework_TestCase
$res = UserAgentParser::getBrowser($userAgent);
$family = false;
- if($res === false)
+ if ($res === false)
$this->assertFalse($expected[0]);
- else
- {
+ else {
$family = Piwik_getBrowserFamily($res['id']);
$this->assertEquals($expected[0][0], $res['id']);
$this->assertEquals($expected[0][1], $res['name']);