X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/?a=blobdiff_plain;f=tests%2Fparser%2FParserTestRunner.php;h=0e6a3eed77b1b9958da20e35e34d758d4bef421c;hb=007bfbf83578df5010415d5822c6aec057ffaa88;hp=b6c7b03a6ccc5b9bb38d52426cfd5d18b1f4d21a;hpb=04e6f695837f03add4a41ce3d8e612ff807a82ff;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/parser/ParserTestRunner.php b/tests/parser/ParserTestRunner.php index b6c7b03a6c..0e6a3eed77 100644 --- a/tests/parser/ParserTestRunner.php +++ b/tests/parser/ParserTestRunner.php @@ -1199,7 +1199,7 @@ class ParserTestRunner { * @return array */ private function listTables() { - global $wgCommentTableSchemaMigrationStage, $wgActorTableSchemaMigrationStage; + global $wgActorTableSchemaMigrationStage; $tables = [ 'user', 'user_properties', 'user_former_groups', 'page', 'page_restrictions', 'protected_titles', 'revision', 'ip_changes', 'text', 'pagelinks', 'imagelinks', @@ -1209,14 +1209,9 @@ class ParserTestRunner { 'querycache', 'objectcache', 'job', 'l10n_cache', 'redirect', 'querycachetwo', 'archive', 'user_groups', 'page_props', 'category', 'slots', 'content', 'slot_roles', 'content_models', + 'comment', 'revision_comment_temp', ]; - if ( $wgCommentTableSchemaMigrationStage >= MIGRATION_WRITE_BOTH ) { - // The new tables for comments are in use - $tables[] = 'comment'; - $tables[] = 'revision_comment_temp'; - } - if ( $wgActorTableSchemaMigrationStage & SCHEMA_COMPAT_WRITE_NEW ) { // The new tables for actors are in use $tables[] = 'actor';