aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit/includes/StringUtilsTest.php
diff options
context:
space:
mode:
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'