Do not skip test if IIS is defined

Signed-off-by: Michal Čihař <michal@cihar.com>
This commit is contained in:
Michal Čihař 2016-02-03 20:26:45 +01:00
parent 1bddcff0d5
commit 9bd4844c26

View File

@ -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'
);