aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit/includes/StringUtilsTest.php
diff options
context:
space:
mode:
authoraddshore <addshorewiki@gmail.com>2013-10-23 23:51:31 +0100
committerAntoine Musso <hashar@free.fr>2013-10-24 10:31:32 +0200
commitde7af7ac2c651d747221dd322fa9e40956681cb9 (patch)
treefa2f8a07ed4959339a13652b3ed009f85c427e08 /tests/phpunit/includes/StringUtilsTest.php
parentc40786cba2d170b8fc24e1dd8b989c87b0feeadc (diff)
downloadmediawikicore-de7af7ac2c651d747221dd322fa9e40956681cb9.tar.gz
mediawikicore-de7af7ac2c651d747221dd322fa9e40956681cb9.zip
Fix scope on all /phpunit test methods
Change-Id: I3ce92463d485a0fb23e464e9a8059330f32d79af
Diffstat (limited to 'tests/phpunit/includes/StringUtilsTest.php')
-rw-r--r--tests/phpunit/includes/StringUtilsTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/phpunit/includes/StringUtilsTest.php b/tests/phpunit/includes/StringUtilsTest.php
index b2228121adb1..89759e5c70d9 100644
--- a/tests/phpunit/includes/StringUtilsTest.php
+++ b/tests/phpunit/includes/StringUtilsTest.php
@@ -9,7 +9,7 @@ class StringUtilsTest extends MediaWikiTestCase {
* @covers StringUtils::isUtf8
* @dataProvider provideStringsForIsUtf8Check
*/
- function testIsUtf8WithMbstring( $expected, $string ) {
+ public function testIsUtf8WithMbstring( $expected, $string ) {
if ( !function_exists( 'mb_check_encoding' ) ) {
$this->markTestSkipped( 'Test requires the mbstring PHP extension' );
}
@@ -27,7 +27,7 @@ class StringUtilsTest extends MediaWikiTestCase {
* @covers StringUtils::isUtf8
* @dataProvider provideStringsForIsUtf8Check
*/
- function testIsUtf8WithPhpFallbackImplementation( $expected, $string ) {
+ public function testIsUtf8WithPhpFallbackImplementation( $expected, $string ) {
$this->assertEquals( $expected,
StringUtils::isUtf8( $string, /** disable mbstring: */true ),
'Testing string "' . $this->escaped( $string ) . '" with pure PHP implementation'