(bug 41989) tests/parserTests.php missing classes
authorAntoine Musso <hashar@free.fr>
Tue, 13 Nov 2012 20:41:40 +0000 (21:41 +0100)
committerTimo Tijhof <ttijhof@wikimedia.org>
Tue, 13 Nov 2012 21:27:19 +0000 (22:27 +0100)
It has been broken since I0a307f23 / 7c6c05a which moved the parser test
classes from the main autoloader to the one dedicated to test.
Workaround that by simply requiring the two .inc file we need.

Change-Id: Ib865e4e84969d633ad9173f0824322078793b8b4

tests/parserTests.php

index 4df9a61..1ef6473 100644 (file)
@@ -28,6 +28,7 @@ $otions = array( 'quick', 'color', 'quiet', 'help', 'show-output', 'record', 'ru
 $optionsWithArgs = array( 'regex', 'filter', 'seed', 'setversion' );
 
 require_once( __DIR__ . '/../maintenance/commandLine.inc' );
+require_once( __DIR__ . '/TestsAutoLoader.php' );
 
 if ( isset( $options['help'] ) ) {
        echo <<<ENDS