Make the XML dump schema version configurable.
[lhc/web/wiklou.git] / tests / phpunit / maintenance / DumpTestCase.php
index eebc201..26c9b92 100644 (file)
@@ -162,9 +162,9 @@ abstract class DumpTestCase extends MediaWikiLangTestCase {
         * @return string
         */
        protected function getXmlSchemaPath( $schemaVersion = null ) {
-               global $IP;
+               global $IP, $wgXmlDumpSchemaVersion;
 
-               $schemaVersion = $schemaVersion ?: '0.10';
+               $schemaVersion = $schemaVersion ?: $wgXmlDumpSchemaVersion;
 
                return "$IP/docs/export-$schemaVersion.xsd";
        }