Merge "parserTests: Do not check for DjVu support"
[lhc/web/wiklou.git] / tests / parser / ParserTestRunner.php
index 374bd0e..a0d6b22 100644 (file)
@@ -1508,7 +1508,7 @@ class ParserTestRunner {
                }
 
                // The RepoGroup cache is invalidated by the creation of file redirects
-               if ( $title->getNamespace() === NS_IMAGE ) {
+               if ( $title->inNamespace( NS_FILE ) ) {
                        RepoGroup::singleton()->clearCache( $title );
                }
        }