From a66f92656ba6606de6c84d3fc95410718880103f Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Fri, 15 Jan 2010 16:55:00 +0000 Subject: [PATCH] * use require_once for ProfilerStub.php, GlobalFunctions.php and Hooks.php, these files might already be loaded when reaching this point * always use the complete path (with $IP) when loading files with require(_once) * include AutoLoader before LocalSettings.php as we do in WebStart.php * don't load DefaultSettings.php, it's already done by LocalSettings.php * define MW_PHPUNIT_TEST constant * added a description for the file --- tests/bootstrap.php | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/tests/bootstrap.php b/tests/bootstrap.php index dfdf3d347a..1023f06278 100644 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -1,16 +1,24 @@