nicer format for static groups record
[lhc/web/wiklou.git] / tests / RunTests.php
index 455bc33..6011ee8 100644 (file)
@@ -1,4 +1,9 @@
 <?php
+
+if( php_sapi_name() != 'cli' ) {
+       die( 'Must be run from the command line.' );
+}
+
 error_reporting( E_ALL );
 define( "MEDIAWIKI", true );
 
@@ -31,6 +36,7 @@ $tests = array(
        'DatabaseTest',
        'SearchMySQL3Test',
        'SearchMySQL4Test',
+       'ArticleTest',
        );
 foreach( $tests as $test ) {
        require_once( $test . '.php' );