Merge "registration: Only allow one extension to set a specific config setting"
[lhc/web/wiklou.git] / tests / phpunit / maintenance / backupTextPassTest.php
index ea5ca8d..0a1f3b4 100644 (file)
@@ -30,6 +30,7 @@ class TextPassDumperDatabaseTest extends DumpTestCase {
        function addDBData() {
                $this->tablesUsed[] = 'page';
                $this->tablesUsed[] = 'revision';
+               $this->tablesUsed[] = 'ip_changes';
                $this->tablesUsed[] = 'text';
 
                $this->mergeMwGlobalArrayValue( 'wgContentHandlers', [
@@ -265,7 +266,6 @@ class TextPassDumperDatabaseTest extends DumpTestCase {
                // duration. If the dump did not take long enough increase the iteration
                // count, to generate a bigger stub file next time.
                while ( $lastDuration < $minDuration ) {
-
                        // Setting up the dump
                        wfRecursiveRemoveDir( $nameOutputDir );
                        $this->assertTrue( wfMkdirParents( $nameOutputDir ),
@@ -323,7 +323,6 @@ class TextPassDumperDatabaseTest extends DumpTestCase {
                // Each run of the following loop body tries to handle exactly 1 /page/ (not
                // iteration of stub content). $i is only increased after having treated page 4.
                for ( $i = 0; $i < $iterations; ) {
-
                        // 1. Assuring a file is opened and ready. Skipping across header if
                        //    necessary.
                        if ( !$fileOpened ) {
@@ -511,7 +510,6 @@ class TextPassDumperDatabaseTest extends DumpTestCase {
                $content = $header;
                $iterations = intval( $iterations );
                for ( $i = 0; $i < $iterations; $i++ ) {
-
                        $page1 = '  <page>
     <title>BackupDumperTestP1</title>
     <ns>0</ns>