From 4d02bdf897a9aa305750de4e8105b4b7d2beed65 Mon Sep 17 00:00:00 2001 From: Adam Wight Date: Thu, 5 Sep 2019 16:07:06 +0200 Subject: [PATCH] Rollback change_tag table for tests When a change tag row is written during a test, it links to content IDs which may be reused in future tests. To maintain test isolation, we should include this table in the rollback for any tests that touch pages. Bug: T227849 Change-Id: I98fe17e209f6c685ad87e52886a3526f35645d1e --- tests/phpunit/MediaWikiIntegrationTestCase.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/phpunit/MediaWikiIntegrationTestCase.php b/tests/phpunit/MediaWikiIntegrationTestCase.php index 41c65b28ed..b738312725 100644 --- a/tests/phpunit/MediaWikiIntegrationTestCase.php +++ b/tests/phpunit/MediaWikiIntegrationTestCase.php @@ -1830,6 +1830,7 @@ abstract class MediaWikiIntegrationTestCase extends PHPUnit\Framework\TestCase { $pageTables = [ 'page', 'revision', 'ip_changes', 'revision_comment_temp', 'comment', 'archive', 'revision_actor_temp', 'slots', 'content', 'content_models', 'slot_roles', + 'change_tag', ]; $coreDBDataTables = array_merge( $userTables, $pageTables ); -- 2.20.1