X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fmaintenance%2FMaintenanceTest.php;h=2813c583513b2e2e1e6493de7f3c0ba992d4da6e;hb=d967d1d9128f7f92391d4985edd5c9903c98c6aa;hp=cb3d227203933c45f9ca952222fd62f7888155fb;hpb=8bb5a6c461c31ee5ce6874548246fc2c520686f6;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/maintenance/MaintenanceTest.php b/tests/phpunit/maintenance/MaintenanceTest.php index cb3d227203..2813c58351 100644 --- a/tests/phpunit/maintenance/MaintenanceTest.php +++ b/tests/phpunit/maintenance/MaintenanceTest.php @@ -1,29 +1,35 @@ shutdownSimulated ) { $this->testCase->fail( __METHOD__ . " called more than once" ); } @@ -175,7 +180,6 @@ class MaintenanceTest extends MediaWikiTestCase { * after shutdown simulation. */ private function assertOutputPrePostShutdown( $preShutdownOutput, $expectNLAppending ) { - $this->assertEquals( $preShutdownOutput, $this->getActualOutput(), "Output before shutdown simulation" ); @@ -835,7 +839,7 @@ class MaintenanceTest extends MediaWikiTestCase { * @covers Maintenance::setConfig */ public function testSetConfig() { - $conf = $this->getMock( 'Config' ); + $conf = $this->createMock( 'Config' ); $this->m->setConfig( $conf ); $this->assertSame( $conf, $this->m->getConfig() ); }