X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2FExportTest.php;h=af10b9c4a622f15ed056a3b8fefef1ff58b10652;hb=509d40ab9d29c5c7d7490b3b154f7e57840f694c;hp=a5d357066b3e9d1ebc7beb080ba234b5af125e27;hpb=f43fa6f4f0e2cb60b8543daad661b48a3e0653a9;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/ExportTest.php b/tests/phpunit/includes/ExportTest.php index a5d357066b..af10b9c4a6 100644 --- a/tests/phpunit/includes/ExportTest.php +++ b/tests/phpunit/includes/ExportTest.php @@ -1,5 +1,7 @@ getNamespaces(); + $actualNamespaces = (array)MediaWikiServices::getInstance()->getContentLanguage()-> + getNamespaces(); $actualNamespaces = array_values( $actualNamespaces ); $this->assertEquals( $actualNamespaces, $xmlNamespaces );