Index: trunk/phase3/t/inc/Global.t |
— | — | @@ -5,13 +5,13 @@ |
6 | 6 | require 't/Test.php'; |
7 | 7 | |
8 | 8 | require 'includes/Defines.php'; |
| 9 | +require 'StartProfiler.php'; |
| 10 | +require 'includes/AutoLoader.php'; |
9 | 11 | require 'LocalSettings.php'; |
| 12 | +require 'includes/Setup.php'; |
10 | 13 | |
11 | | -plan( 48 ); |
| 14 | +plan( 46 ); |
12 | 15 | |
13 | | -require_ok( 'includes/ProfilerStub.php' ); |
14 | | -require_ok( 'includes/GlobalFunctions.php' ); |
15 | | - |
16 | 16 | $wgReadOnly = null; |
17 | 17 | $wgReadOnlyFile = tempnam(wfTempDir(), "mwtest_readonly"); |
18 | 18 | unlink( $wgReadOnlyFile ); |
Index: trunk/phase3/t/inc/Database.t |
— | — | @@ -5,15 +5,13 @@ |
6 | 6 | require 't/Test.php'; |
7 | 7 | |
8 | 8 | require 'includes/Defines.php'; |
| 9 | +require 'StartProfiler.php'; |
| 10 | +require 'includes/AutoLoader.php'; |
9 | 11 | require 'LocalSettings.php'; |
| 12 | +require 'includes/Setup.php'; |
10 | 13 | |
11 | | -plan( 13 ); |
| 14 | +plan( 9 ); |
12 | 15 | |
13 | | -require_ok( 'includes/ProfilerStub.php' ); |
14 | | -require_ok( 'includes/GlobalFunctions.php' ); |
15 | | -require_ok( 'includes/Exception.php' ); |
16 | | -require_ok( 'includes/db/Database.php' ); |
17 | | - |
18 | 16 | $db = new Database( $wgDBserver, $wgDBuser, $wgDBpassword ); |
19 | 17 | |
20 | 18 | cmp_ok( $db->addQuotes( NULL ), '==', |