We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d775d69 commit 90d30c0Copy full SHA for 90d30c0
1 file changed
test/classes/AbstractTestCase.php
@@ -12,6 +12,7 @@
12
use PhpMyAdmin\Dbal\DbiExtension;
13
use PhpMyAdmin\LanguageManager;
14
use PhpMyAdmin\SqlParser\Translator;
15
+use PhpMyAdmin\Template;
16
use PhpMyAdmin\Tests\Stubs\DbiDummy;
17
use PhpMyAdmin\Tests\Stubs\ResponseRenderer;
18
use PhpMyAdmin\Theme\Theme;
@@ -200,6 +201,7 @@ protected function tearDown(): void
200
201
{
202
DatabaseInterface::$instance = null;
203
Config::$instance = null;
204
+ (new ReflectionProperty(Template::class, 'twig'))->setValue(null, null);
205
foreach (array_keys($GLOBALS) as $key) {
206
if (in_array($key, $this->globalsAllowList)) {
207
continue;
0 commit comments