| Total Complexity | 2 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | class LanguageTest extends TestCase |
||
| 16 | { |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @dataProvider provideAll2wiki |
||
| 20 | */ |
||
| 21 | public function testAll2wiki($langStr, $expected) |
||
| 22 | { |
||
| 23 | $this::assertSame( |
||
| 24 | $expected, |
||
| 25 | Language::all2wiki($langStr) |
||
| 26 | ); |
||
| 27 | } |
||
| 28 | |||
| 29 | public function provideAll2wiki(): array |
||
| 45 | ]; |
||
| 46 | } |
||
| 48 |