diff options
author | mattab <matthieu.aubry@gmail.com> | 2013-03-28 03:42:39 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2013-03-28 03:42:40 +0400 |
commit | ae4b03163792f0b6e933933e5d37df87dc3fd566 (patch) | |
tree | d1d7510a9728f587d3d63ebd03e4ecf3d904838b /tests/PHPUnit/Integration/NonUnicodeTest.php | |
parent | 158c2150f5f2e13ece459b8d131244c11b763997 (diff) |
Mass conversion of all files to the newly agreed coding standard: PSR 1/2
Converting Piwik core source files, PHP, JS, TPL, CSS
More info: http://piwik.org/participate/coding-standards/
Diffstat (limited to 'tests/PHPUnit/Integration/NonUnicodeTest.php')
-rwxr-xr-x | tests/PHPUnit/Integration/NonUnicodeTest.php | 68 |
1 files changed, 34 insertions, 34 deletions
diff --git a/tests/PHPUnit/Integration/NonUnicodeTest.php b/tests/PHPUnit/Integration/NonUnicodeTest.php index 995add7567..83628577ed 100755 --- a/tests/PHPUnit/Integration/NonUnicodeTest.php +++ b/tests/PHPUnit/Integration/NonUnicodeTest.php @@ -2,7 +2,7 @@ /** * Piwik - Open source web analytics * - * @link http://piwik.org + * @link http://piwik.org * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later */ @@ -12,41 +12,41 @@ */ class Test_Piwik_Integration_NonUnicodeTest extends IntegrationTestCase { - public static $fixture = null; // initialized below class definition - - /** - * @dataProvider getApiForTesting - * @group Integration - * @group NonUnicodeTest - */ - public function testApi($api, $params) - { - $this->runApiTests($api, $params); - } - - public function getApiForTesting() - { - $apiToCall = array( - 'Actions.getSiteSearchKeywords', - 'Actions.getPageTitles', - 'Actions.getPageUrls', - 'Referers.getWebsites', - ); - - return array( - array($apiToCall, array('idSite' => self::$fixture->idSite1, - 'date' => self::$fixture->dateTime, - 'periods' => 'day')) - ); - } - - public function getOutputPrefix() - { - return 'NonUnicode'; - } + public static $fixture = null; // initialized below class definition + + /** + * @dataProvider getApiForTesting + * @group Integration + * @group NonUnicodeTest + */ + public function testApi($api, $params) + { + $this->runApiTests($api, $params); + } + + public function getApiForTesting() + { + $apiToCall = array( + 'Actions.getSiteSearchKeywords', + 'Actions.getPageTitles', + 'Actions.getPageUrls', + 'Referers.getWebsites', + ); + + return array( + array($apiToCall, array('idSite' => self::$fixture->idSite1, + 'date' => self::$fixture->dateTime, + 'periods' => 'day')) + ); + } + + public function getOutputPrefix() + { + return 'NonUnicode'; + } } Test_Piwik_Integration_NonUnicodeTest::$fixture = - new Test_Piwik_Fixture_SomeVisitsWithNonUnicodePageTitles(); + new Test_Piwik_Fixture_SomeVisitsWithNonUnicodePageTitles(); |