Add tablesUsed to RevisionStoreDbTest
authoraddshore <addshorewiki@gmail.com>
Mon, 29 Jan 2018 17:08:58 +0000 (17:08 +0000)
committerLegoktm <legoktm@member.fsf.org>
Fri, 2 Feb 2018 19:37:44 +0000 (19:37 +0000)
Bug: T183777
Change-Id: Ie8bc2a9aca341a44c22828c9e9c3a7f89c7f87cd

tests/phpunit/includes/Storage/RevisionStoreDbTest.php

index 8185670..6c90854 100644 (file)
@@ -34,6 +34,14 @@ use WikitextContent;
  */
 class RevisionStoreDbTest extends MediaWikiTestCase {
 
+       public function setUp() {
+               parent::setUp();
+               $this->tablesUsed[] = 'archive';
+               $this->tablesUsed[] = 'page';
+               $this->tablesUsed[] = 'revision';
+               $this->tablesUsed[] = 'comment';
+       }
+
        /**
         * @return LoadBalancer
         */