tests: Reset mwuser/pagecontent tables if necessary for postgres
authorKunal Mehta <legoktm@member.fsf.org>
Sat, 2 Jun 2018 03:31:52 +0000 (20:31 -0700)
committerKunal Mehta <legoktm@member.fsf.org>
Thu, 7 Jun 2018 03:31:57 +0000 (20:31 -0700)
commitfda6e09a4e6b6b16b46675bca4a808ea31a35ae7
tree0838f08354a37e7ed9e4c57bb18e68109903713d
parent3b73014c55b75485366e25ea4b44f65a5f407bd3
tests: Reset mwuser/pagecontent tables if necessary for postgres

As of 556c5cf464b9, postgres renames the `user` and `text` tables to
`mwuser` and `pagecontent` respectively. Have resetDB() explicitly
reset those tables when using postgres.

Bug: T195807
Change-Id: I5052dd663a4fb16389611cd2985b712fb9a15069
tests/phpunit/MediaWikiTestCase.php