X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fmaintenance%2Fbackup_PageTest.php;h=2262cc0f39b06e4fc95a04c001277edca84e58b7;hb=91aedcf6cf78840a3e9703407f2e9d29b7dff430;hp=5cd8336ee90971c5ba30dcc01b7cd1f3b34c118e;hpb=ae69acacf567077b3f49d1fe6c3f3770e72a9093;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/maintenance/backup_PageTest.php b/tests/phpunit/maintenance/backup_PageTest.php index 5cd8336ee9..2262cc0f39 100644 --- a/tests/phpunit/maintenance/backup_PageTest.php +++ b/tests/phpunit/maintenance/backup_PageTest.php @@ -104,7 +104,7 @@ class BackupDumperPageTest extends DumpTestCase { $dumper->loadWithArgv( [ '--full', '--quiet', '--output', 'file:' . $fname ] ); $dumper->startId = $this->pageId1; $dumper->endId = $this->pageId4 + 1; - $dumper->setDb( $this->db ); + $dumper->setDB( $this->db ); // Performing the dump $dumper->execute(); @@ -160,7 +160,7 @@ class BackupDumperPageTest extends DumpTestCase { $dumper->loadWithArgv( [ '--full', '--quiet', '--output', 'file:' . $fname, '--stub' ] ); $dumper->startId = $this->pageId1; $dumper->endId = $this->pageId4 + 1; - $dumper->setDb( $this->db ); + $dumper->setDB( $this->db ); // Performing the dump $dumper->execute(); @@ -210,7 +210,7 @@ class BackupDumperPageTest extends DumpTestCase { $dumper->startId = $this->pageId1; $dumper->endId = $this->pageId4 + 1; $dumper->reporting = false; - $dumper->setDb( $this->db ); + $dumper->setDB( $this->db ); // Performing the dump $dumper->dump( WikiExporter::CURRENT, WikiExporter::STUB ); @@ -256,7 +256,7 @@ class BackupDumperPageTest extends DumpTestCase { $dumper->startId = $this->pageId1; $dumper->endId = $this->pageId4 + 1; $dumper->reporting = false; - $dumper->setDb( $this->db ); + $dumper->setDB( $this->db ); // Performing the dump $dumper->dump( WikiExporter::CURRENT, WikiExporter::STUB ); @@ -318,7 +318,7 @@ class BackupDumperPageTest extends DumpTestCase { "--reporting=1000" ] ); $dumper->startId = $this->pageId1; $dumper->endId = $this->pageId4 + 1; - $dumper->setDb( $this->db ); + $dumper->setDB( $this->db ); // xmldumps-backup uses reporting. We will not check the exact reported // message, as they are dependent on the processing power of the used