From 7e23436533ed317d5f6893dbf776554c73f95e97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maur=C3=ADcio=20Meneghini=20Fauth?= Date: Sat, 20 Mar 2021 18:51:36 -0300 Subject: Add Twig\FlashMessagesExtension class MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adds the flash() Twig function that return all flash messages. Signed-off-by: MaurĂ­cio Meneghini Fauth --- test/bootstrap-dist.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test/bootstrap-dist.php') diff --git a/test/bootstrap-dist.php b/test/bootstrap-dist.php index 196719f2f9..d5125b2d76 100644 --- a/test/bootstrap-dist.php +++ b/test/bootstrap-dist.php @@ -6,6 +6,7 @@ declare(strict_types=1); use PhpMyAdmin\Config; +use PhpMyAdmin\Core; use PhpMyAdmin\DatabaseInterface; use PhpMyAdmin\MoTranslator\Loader; use PhpMyAdmin\Tests\Stubs\DbiDummy; @@ -47,6 +48,8 @@ require_once ROOT_PATH . 'libraries/vendor_config.php'; require_once AUTOLOAD_FILE; Loader::loadFunctions(); +$GLOBALS['containerBuilder'] = Core::getContainerBuilder(); + $GLOBALS['config'] = new Config(); $GLOBALS['config']->set('environment', 'development'); $GLOBALS['cfg']['environment'] = 'development'; -- cgit v1.2.3