Merge "(bug 39180) Set x-frame-options='DENY' for api"
[lhc/web/wiklou.git] / tests / selenium / installer / MediaWikiButtonsAvailabilityTestCase.php
index bcc2c1b..8bca4b0 100644 (file)
@@ -6,7 +6,7 @@
  * @file
  * @ingroup Maintenance
  * Copyright (C) 2010 Nadeesha Weerasinghe <nadeesha@calcey.com>
- * 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,9 +28,9 @@
  */
 
 
-require_once (dirname(__FILE__).'/'.'MediaWikiInstallationCommonFunction.php');
+require_once (__DIR__.'/'.'MediaWikiInstallationCommonFunction.php');
 
-/*
+/**
  * Test Case ID   : 30 (http://www.mediawiki.org/wiki/New_installer/Test_plan)
  * Test Case Name :'Back' and 'Continue' button availability
  * Version        : MediaWiki 1.18alpha
@@ -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();
-    }
 }
-