Follow up r77654
authorPlatonides <platonides@users.mediawiki.org>
Thu, 30 Dec 2010 19:18:09 +0000 (19:18 +0000)
committerPlatonides <platonides@users.mediawiki.org>
Thu, 30 Dec 2010 19:18:09 +0000 (19:18 +0000)
These two files use constants from SeleniumTestConstants.php
I would be more confortable if all these defines were class variables, though.

Removed an empty statement.

tests/selenium/installer/MediaWikiRestartInstallationTestCase.php
tests/selenium/suites/MyContributionsTestCase.php
tests/selenium/suites/MyWatchListTestCase.php

index 5147a8d..b0a3800 100644 (file)
@@ -104,7 +104,6 @@ class MediaWikiRestartInstallationTestCase extends MediaWikiInstallationCommonFu
 
         // Navigates to the previous page
         $this->assertEquals( "Database settings", $this->getText( LINK_DIV."h2" ));
-        ;
 
         // 'Connect to database' page
         parent::clickBackButton();
index 9cffc37..ded3c44 100644 (file)
@@ -27,6 +27,8 @@
  *
  */
 
+require_once dirname( dirname( __FILE__ ) ) . '/SeleniumTestConstants.php';
+
 class MyContributionsTestCase extends SeleniumTestCase {
 
     // Verify user contributions
index cc52c5d..b3515de 100644 (file)
@@ -27,6 +27,7 @@
  *
  */
 
+require_once dirname( dirname( __FILE__ ) ) . '/SeleniumTestConstants.php';
 
 class MyWatchListTestCase extends SeleniumTestCase {