Bug 2791 slovene numeric format
[lhc/web/wiklou.git] / tests / RunTests.php
index 987b1ed..5291d93 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 );
 
@@ -32,6 +37,7 @@ $tests = array(
        'SearchMySQL3Test',
        'SearchMySQL4Test',
        'ArticleTest',
+       'SanitizerTest',
        );
 foreach( $tests as $test ) {
        require_once( $test . '.php' );