X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2FExportTest.php;h=af10b9c4a622f15ed056a3b8fefef1ff58b10652;hb=204126e7c7bd29fcd997459149d2dc4be4ef1434;hp=a5d357066b3e9d1ebc7beb080ba234b5af125e27;hpb=99dbf4e1d4d7f18e02935bdb8cd3be4413ffe729;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 );