Gergő Tisza has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/282956

Change subject: Reset Gather tables between tests
......................................................................

Reset Gather tables between tests

Bug: T132411
Change-Id: I0546a4f18e0751d209b6b7c6cd42973f25828313
---
M tests/phpunit/api/GatherTest.php
1 file changed, 9 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Gather 
refs/changes/56/282956/1

diff --git a/tests/phpunit/api/GatherTest.php b/tests/phpunit/api/GatherTest.php
index c13f463..01cdaab 100644
--- a/tests/phpunit/api/GatherTest.php
+++ b/tests/phpunit/api/GatherTest.php
@@ -34,6 +34,15 @@
        /** @var TestUser[] */
        private static $wlUsers = null;
 
+       public function __construct( $name = null, array $data = [], $dataName 
= '' ) {
+               parent::__construct( $name, $data, $dataName );
+               $this->tablesUsed = array_merge( $this->tablesUsed, [
+                       'gather_list_flag',
+                       'gather_list_item',
+                       'gather_list',
+               ] );
+       }
+
        /**
         * Create a set of pages. These must not change, otherwise the tests 
might give wrong results.
         * @see MediaWikiTestCase::addDBData()

-- 
To view, visit https://gerrit.wikimedia.org/r/282956
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I0546a4f18e0751d209b6b7c6cd42973f25828313
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Gather
Gerrit-Branch: master
Gerrit-Owner: GergÅ‘ Tisza <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to