diff --git a/test/classes/plugin/auth/AuthenticationConfigTest.php b/test/classes/plugin/auth/AuthenticationConfigTest.php index 924bc576ae..5feb64d6b6 100644 --- a/test/classes/plugin/auth/AuthenticationConfigTest.php +++ b/test/classes/plugin/auth/AuthenticationConfigTest.php @@ -93,15 +93,6 @@ class AuthenticationConfigTest extends PMATestCase $GLOBALS['cfg']['Servers'] = array(1); $GLOBALS['allowDeny_forbidden'] = false; $GLOBALS['collation_connection'] = 'utf-8'; - if (!defined('PMA_USR_BROWSER_AGENT')) { - define('PMA_USR_BROWSER_AGENT', 'chrome'); - - $removeConstant = true; - - if (! PMA_HAS_RUNKIT) { - $this->markTestSkipped('Cannot remove constant'); - } - } $dbi = $this->getMockBuilder('PhpMyAdmin\DatabaseInterface') ->disableOriginalConstructor() @@ -142,8 +133,5 @@ class AuthenticationConfigTest extends PMATestCase . 'class="button disableAjax">Retry to connect', $html ); - if ($removeConstant) { - runkit_constant_remove('PMA_USR_BROWSER_AGENT'); - } } }