Added release notes for 'ContentHandler::runLegacyHooks' removal
[mediawiki.git] / tests / phpunit / languages / classes / LanguageTgTest.php
blob0ed24ff1c0b15bf99e0e6e356f6ffc5e12532f4e
1 <?php
3 class LanguageTgTest 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 'tg' => 'г',
17 'tg-latn' => 'g',
19 'г'
23 'tg' => 'g',
24 'tg-latn' => 'g',
26 'g'