Index: trunk/extensions/Maps/test/MapsTestSuite.php |
— | — | @@ -1,6 +1,6 @@ |
2 | 2 | <?php |
3 | 3 | |
4 | | -require_once 'PHPUnit\Framework\TestSuite.php'; |
| 4 | +require_once 'PHPUnit/Framework/TestSuite.php'; |
5 | 5 | |
6 | 6 | /** |
7 | 7 | * Static test suite. |
Index: trunk/extensions/Maps/test/MapsCoordinateParserTest.php |
— | — | @@ -1,11 +1,12 @@ |
2 | 2 | <?php |
3 | 3 | |
4 | | -require_once 'PHPUnit\Framework\TestCase.php'; |
| 4 | +require_once 'PHPUnit/Framework/TestCase.php'; |
5 | 5 | |
6 | 6 | // Trick MW into thinking this is a command line script. |
7 | 7 | // This is obviously not a good approach, as it will not work on other setups then my own. |
8 | 8 | unset( $_SERVER['REQUEST_METHOD'] ); |
9 | 9 | $argv = array( 'over9000failz' ); |
| 10 | +( include dirname(__FILE__) . '/../../../phase3/maintenance/commandLine.inc' ) or |
10 | 11 | require_once '../../../smw/maintenance/commandLine.inc'; |
11 | 12 | |
12 | 13 | /** |
— | — | @@ -311,4 +312,4 @@ |
312 | 313 | } |
313 | 314 | } |
314 | 315 | |
315 | | -} |
\ No newline at end of file |
| 316 | +} |
Index: trunk/extensions/Maps/test/MapsDistanceParserTest.php |
— | — | @@ -1,11 +1,12 @@ |
2 | 2 | <?php |
3 | 3 | |
4 | | -require_once 'PHPUnit\Framework\TestCase.php'; |
| 4 | +require_once 'PHPUnit/Framework/TestCase.php'; |
5 | 5 | |
6 | 6 | // Trick MW into thinking this is a command line script. |
7 | 7 | // This is obviously not a good approach, as it will not work on other setups then my own. |
8 | 8 | unset( $_SERVER['REQUEST_METHOD'] ); |
9 | 9 | $argv = array( 'over9000failz' ); |
| 10 | +( include dirname(__FILE__) . '/../../../phase3/maintenance/commandLine.inc' ) or |
10 | 11 | require_once '../../../smw/maintenance/commandLine.inc'; |
11 | 12 | |
12 | 13 | /** |
— | — | @@ -176,4 +177,4 @@ |
177 | 178 | |
178 | 179 | } |
179 | 180 | |
180 | | -} |
\ No newline at end of file |
| 181 | +} |