From 9bd4844c265c540d39af15ea7f19a52a620b6b93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Wed, 3 Feb 2016 20:26:45 +0100 Subject: [PATCH] Do not skip test if IIS is defined 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/libraries/core/PMA_headerLocation_test.php b/test/libraries/core/PMA_headerLocation_test.php index 45034a2994..aee9d075b0 100644 --- a/test/libraries/core/PMA_headerLocation_test.php +++ b/test/libraries/core/PMA_headerLocation_test.php @@ -234,7 +234,7 @@ class PMA_HeaderLocation_Test extends PHPUnit_Framework_TestCase runkit_constant_redefine('PMA_IS_IIS', true); } elseif (!defined('PMA_IS_IIS')) { define('PMA_IS_IIS', true); - } else { + } elseif (! PMA_IS_IIS) { $this->markTestSkipped( 'Cannot redefine constant/function - missing runkit extension' );