Merge "Added result properties to action=paraminfo"
[lhc/web/wiklou.git] / tests / phpunit / maintenance / backupTextPassTest.php
index 972fc73..90fd902 100644 (file)
@@ -1,7 +1,6 @@
 <?php
-global $IP;
-require_once( "$IP/maintenance/backup.inc" );
-require_once( "$IP/maintenance/backupTextPass.inc" );
+
+require_once dirname( __FILE__ ) . "/../../../maintenance/backupTextPass.inc";
 
 /**
  * Tests for page dumps of BackupDumper
@@ -73,7 +72,7 @@ class TextPassDumperTest extends DumpTestCase {
 
        }
 
-       protected function setUp() {
+       public function setUp() {
                parent::setUp();
 
                // Since we will restrict dumping by page ranges (to allow