From: Platonides Date: Thu, 30 Dec 2010 19:18:09 +0000 (+0000) Subject: Follow up r77654 X-Git-Tag: 1.31.0-rc.0~32971 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22articles%22%2C%22id_article=%24id_article%22%29%20.%20%22?a=commitdiff_plain;h=46318874e1e56574ae6e43eab10096b055611869;p=lhc%2Fweb%2Fwiklou.git Follow up r77654 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. --- diff --git a/tests/selenium/installer/MediaWikiRestartInstallationTestCase.php b/tests/selenium/installer/MediaWikiRestartInstallationTestCase.php index 5147a8dbcb..b0a3800027 100644 --- a/tests/selenium/installer/MediaWikiRestartInstallationTestCase.php +++ b/tests/selenium/installer/MediaWikiRestartInstallationTestCase.php @@ -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(); diff --git a/tests/selenium/suites/MyContributionsTestCase.php b/tests/selenium/suites/MyContributionsTestCase.php index 9cffc37da8..ded3c44da0 100644 --- a/tests/selenium/suites/MyContributionsTestCase.php +++ b/tests/selenium/suites/MyContributionsTestCase.php @@ -27,6 +27,8 @@ * */ +require_once dirname( dirname( __FILE__ ) ) . '/SeleniumTestConstants.php'; + class MyContributionsTestCase extends SeleniumTestCase { // Verify user contributions diff --git a/tests/selenium/suites/MyWatchListTestCase.php b/tests/selenium/suites/MyWatchListTestCase.php index cc52c5d30c..b3515dec45 100644 --- a/tests/selenium/suites/MyWatchListTestCase.php +++ b/tests/selenium/suites/MyWatchListTestCase.php @@ -27,6 +27,7 @@ * */ +require_once dirname( dirname( __FILE__ ) ) . '/SeleniumTestConstants.php'; class MyWatchListTestCase extends SeleniumTestCase {