Added release notes for 'ContentHandler::runLegacyHooks' removal
[mediawiki.git] / tests / phpunit / languages / classes / LanguageShiTest.php
blob207a1b0bff36dc786f71a1d48388d8259ddb56f6
1 <?php
3 class LanguageShiTest extends LanguageClassesTestCase {
4 /**
5 * @dataProvider provideAutoConvertToAllVariants
6 * @covers Language::autoConvertToAllVariants
7 */
8 public function testAutoConvertToAllVariants( $result, $value ) {
9 $this->assertEquals( $result, $this->getLang()->autoConvertToAllVariants( $value ) );
12 public static function provideAutoConvertToAllVariants() {
13 return [
16 'shi' => 'AƔ',
17 'shi-tfng' => 'ⴰⵖ',
18 'shi-latn' => 'AƔ',
20 'AƔ'
24 'shi' => 'ⴰⵖ',
25 'shi-tfng' => 'ⴰⵖ',
26 'shi-latn' => 'aɣ',
28 'ⴰⵖ'