Solved problem with SQLite: Globals were getting stored, and when a PDO reference...
authorX! <soxred93@users.mediawiki.org>
Fri, 31 Dec 2010 20:47:48 +0000 (20:47 +0000)
committerX! <soxred93@users.mediawiki.org>
Fri, 31 Dec 2010 20:47:48 +0000 (20:47 +0000)
tests/phpunit/MediaWikiTestCase.php

index 25767be..1bdcf1c 100644 (file)
@@ -17,6 +17,9 @@ abstract class MediaWikiTestCase extends PHPUnit_Framework_TestCase {
 
                $this->data = $data;
                $this->dataName = $dataName;
+               
+               $this->backupGlobals = false;
+        $this->backupStaticAttributes = false;
        }
        
        function run( PHPUnit_Framework_TestResult $result = NULL ) {