Last modified: 2012-11-13 21:28:30 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T43989, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 41989 - [Regression] tests/parserTests.php broken
[Regression] tests/parserTests.php broken
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Unit tests (Other open bugs)
1.21.x
All All
: High minor (vote)
: ---
Assigned To: Krinkle
: code-update-regression
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-11-10 22:16 UTC by Alexandre Emsenhuber [IAlex]
Modified: 2012-11-13 21:28 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Alexandre Emsenhuber [IAlex] 2012-11-10 22:16:49 UTC
Since Gerrit change #32175, tests/parserTests.php is broken. The error is:

Fatal error: Class 'ParserTest' not found in tests/parserTests.php on line 74
Comment 1 Krinkle 2012-11-12 12:57:34 UTC
It doesn't fail in the unit tests because parserTests.php isn't used anymore.

The fatal error is because parserTests.php doesn't init the AutoLoader, it worked previously because (some) arbitrary subset of unit test classes was defined in the main AutoLoader.
Comment 2 Antoine "hashar" Musso (WMF) 2012-11-13 20:44:39 UTC
Should be fixed by https://gerrit.wikimedia.org/r/33220
Comment 3 Krinkle 2012-11-13 21:28:30 UTC
Change-Id: Ib865e4e84969d633ad9173f0824322078793b8b4

Merged.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links