X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2FMovePageTest.php;h=9166666543fce0eaa749be94f5a02806ee017aa5;hb=a81ffbc57e37bd95492888620fdff4dd0477229a;hp=db9d2ab8bc2b1d9f586e3fb780b65b02e21a8b60;hpb=aeb66cc6425354326bc1307e4e397d72578be12d;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/MovePageTest.php b/tests/phpunit/includes/MovePageTest.php index db9d2ab8bc..9166666543 100644 --- a/tests/phpunit/includes/MovePageTest.php +++ b/tests/phpunit/includes/MovePageTest.php @@ -47,29 +47,6 @@ class MovePageTest extends MediaWikiTestCase { ]; } - /** - * Integration test to catch regressions like T74870. Taken and modified - * from SemanticMediaWiki - * - * @covers Title::moveTo - */ - public function testTitleMoveCompleteIntegrationTest() { - $oldTitle = Title::newFromText( 'Help:Some title' ); - WikiPage::factory( $oldTitle )->doEditContent( new WikitextContent( 'foo' ), 'bar' ); - $newTitle = Title::newFromText( 'Help:Some other title' ); - $this->assertNull( - WikiPage::factory( $newTitle )->getRevision() - ); - - $this->assertTrue( $oldTitle->moveTo( $newTitle, false, 'test1', true ) ); - $this->assertNotNull( - WikiPage::factory( $oldTitle )->getRevision() - ); - $this->assertNotNull( - WikiPage::factory( $newTitle )->getRevision() - ); - } - /** * Test for the move operation being aborted via the TitleMove hook * @covers MovePage::move