From deed987f15d44645bef117b9e9599ae059b86ae8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Mon, 23 Oct 2017 13:04:48 +0200 Subject: [PATCH] Always define PMA_Config in tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It is needed for template rendering, so most tests need it. Signed-off-by: Michal Čihař --- test/bootstrap-dist.php | 1 + 1 file changed, 1 insertion(+) diff --git a/test/bootstrap-dist.php b/test/bootstrap-dist.php index b1ef84844b..1c4d6eac15 100644 --- a/test/bootstrap-dist.php +++ b/test/bootstrap-dist.php @@ -90,6 +90,7 @@ $_SESSION[' PMA_token '] = 'token'; $GLOBALS['PMA_Theme'] = PhpMyAdmin\Theme::load('./themes/pmahomme'); $_SESSION['tmpval']['pftext'] = 'F'; $GLOBALS['lang'] = 'en'; +$GLOBALS['PMA_Config'] = new PhpMyAdmin\Config(); // Check whether we have runkit extension define('PMA_HAS_RUNKIT', function_exists('runkit_constant_redefine'));