From 74bf56d58ae233fdacc6e92d3f303ceadf8dd443 Mon Sep 17 00:00:00 2001 From: nadeesha Date: Mon, 3 Jan 2011 09:05:18 +0000 Subject: [PATCH] Remove testOnlyBackButtonAvailability() function as per the code review comment (MediaWiki r78165 ) --- .../MediaWikiButtonsAvailabilityTestCase.php | 23 +++---------------- 1 file changed, 3 insertions(+), 20 deletions(-) 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 -- 2.20.1