From b9d823f4e84156e8731360bc587a2c3518ff7db9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Tue, 26 Jul 2016 16:27:53 +0200 Subject: [PATCH] Remove unused tests code MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michal Čihař --- test/libraries/core/PMA_headerLocation_test.php | 9 --------- 1 file changed, 9 deletions(-) diff --git a/test/libraries/core/PMA_headerLocation_test.php b/test/libraries/core/PMA_headerLocation_test.php index e75f7dddd9..030b1fe8dc 100644 --- a/test/libraries/core/PMA_headerLocation_test.php +++ b/test/libraries/core/PMA_headerLocation_test.php @@ -36,7 +36,6 @@ use PMA\libraries\Sanitize; class PMA_HeaderLocation_Test extends PHPUnit_Framework_TestCase { - protected $oldIISvalue; protected $runkitExt; protected $apdExt; @@ -49,14 +48,6 @@ class PMA_HeaderLocation_Test extends PHPUnit_Framework_TestCase { //session_start(); - // cleaning constants - if (PMA_HAS_RUNKIT) { - - $this->oldIISvalue = 'non-defined'; - - $defined_constants = get_defined_constants(true); - $user_defined_constants = $defined_constants['user']; - } $GLOBALS['server'] = 0; $GLOBALS['PMA_Config'] = new PMA\libraries\Config(); $GLOBALS['PMA_Config']->enableBc();