Page MenuHomePhabricator

PHPUnit parser tests add articles to the database
Closed, ResolvedPublic

Description

PHPUnit parser tests modify the db database. Even if they are not going to be run.
MediaWikiParserTest loads the tests using TestFileIterator (parserTest.inc) which add the articles to the db when encountering them in parserTests.txt.

PS: They are broken as of r74646, so it may make sense to fix them before.


Version: 1.17.x
Severity: normal

Details

Reference
bz25745

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:21 PM
bzimport set Reference to bz25745.
bzimport added a subscriber: Unknown Object (MLST).

soxred93 wrote:

In r79109, the ability to use a non-production database is enabled, so this could be fixed fairly easily now.

soxred93 wrote:

In the rewrite of the parser tests in PHPUnit, this has been fixed in trunk. The old ones are kept for now until they are checked in CodeReview, but this has probably been fixed.