From: nadeesha Date: Mon, 3 Jan 2011 09:05:18 +0000 (+0000) Subject: Remove testOnlyBackButtonAvailability() function as per the code review comment ... X-Git-Tag: 1.31.0-rc.0~32868 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22articles%22%2C%22id_article=%24ze_article%22%29%20.%20%22?a=commitdiff_plain;h=74bf56d58ae233fdacc6e92d3f303ceadf8dd443;p=lhc%2Fweb%2Fwiklou.git Remove testOnlyBackButtonAvailability() function as per the code review comment (MediaWiki r78165 ) --- diff --git a/tests/selenium/installer/MediaWikiButtonsAvailabilityTestCase.php b/tests/selenium/installer/MediaWikiButtonsAvailabilityTestCase.php index 3b99c2eada..3557f516a0 100644 --- a/tests/selenium/installer/MediaWikiButtonsAvailabilityTestCase.php +++ b/tests/selenium/installer/MediaWikiButtonsAvailabilityTestCase.php @@ -6,7 +6,7 @@ * @file * @ingroup Maintenance * Copyright (C) 2010 Nadeesha Weerasinghe - * http://www.calcey.com/ + * http://www.calcey.com/ * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -28,7 +28,7 @@ */ -require_once ( dirname( __FILE__ ) . '/MediaWikiInstallationCommonFunction.php' ); +require_once (dirname(__FILE__).'/'.'MediaWikiInstallationCommonFunction.php'); /* * Test Case ID : 30 (http://www.mediawiki.org/wiki/New_installer/Test_plan) @@ -99,21 +99,4 @@ class MediaWikiButtonsAvailabilityTestCase extends MediaWikiInstallationCommonFu $this->assertTrue( $this->isElementPresent( "submit-back" )); $this->assertTrue( $this->isElementPresent( "submit-continue" )); } - - - // Verify only 'Back' button available on 'Complete' page - public function testOnlyBackButtonAvailability() { - - // Verify only 'Back' button available - $databaseName = DB_NAME_PREFIX."_back"; - parent::navigateCompletePage( $databaseName ); - - // Only 'Back' button available - $this->assertTrue( $this->isElementPresent( "submit-back" )); - - // 'Continue' button is not available - $this->assertElementNotPresent( "submit-continue" ); - parent::restartInstallation(); - } -} - +} \ No newline at end of file