Page MenuHomePhabricator

[Regression] tests/parserTests.php broken
Closed, ResolvedPublic

Description

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


Version: 1.21.x
Severity: minor

Details

Reference
bz41989

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 12:56 AM
bzimport set Reference to bz41989.

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.

Change-Id: Ib865e4e84969d633ad9173f0824322078793b8b4

Merged.