r78883 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r78882‎ | r78883 | r78884 >
Date:11:58, 23 December 2010
Author:nadeesha
Status:deferred
Tags:
Comment:
Added MediaWikiOnAlreadyInstalledTestCase.php to the test suite
Modified paths:
  • /trunk/phase3/tests/installer/MediaWikiInstallerTestSuite.php (modified) (history)
  • /trunk/phase3/tests/installer/MediaWikiOnAlreadyInstalledTestCase.php (modified) (history)

Diff [purge]

Index: trunk/phase3/tests/installer/MediaWikiInstallerTestSuite.php
@@ -42,8 +42,11 @@
4343 require_once( str_replace('//','/',dirname(__FILE__).'/') .'MediaWikiUpgradeExistingDatabaseTestCase.php');
4444 require_once( str_replace('//','/',dirname(__FILE__).'/') .'MediaWikiDifferntDatabasePrefixTestCase.php');
4545 require_once( str_replace('//','/',dirname(__FILE__).'/') .'MediaWikiDifferentDatabaseAccountTestCase.php');
 46+require_once( str_replace('//','/',dirname(__FILE__).'/') .'MediaWikiOnAlreadyInstalledTestCase.php');
4647
4748
 49+
 50+
4851 $suite = new PHPUnit_Framework_TestSuite('ArrayTest');
4952 $result = new PHPUnit_Framework_TestResult;
5053
Index: trunk/phase3/tests/installer/MediaWikiOnAlreadyInstalledTestCase.php
@@ -59,7 +59,7 @@
6060 $this->assertEquals( "Install", $this->getText( "//div[@id='bodyContent']/div/div/h2" ));
6161
6262 // Verify warning text displayed
63 - $this->assertEquals( "Warning: You seem to have already installed MediaWiki and are trying to install it again.Please proceed to the next page.",
 63+ $this->assertEquals( "Warning: You seem to have already installed MediaWiki and are trying to install it again. Please proceed to the next page.",
6464 $this->getText( "//div[@id='bodyContent']/div/div/div[2]/form/div[1]/div[2]" ));
6565
6666 // Complete page

Status & tagging log