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 1fbfe2e commit b50b80dCopy full SHA for b50b80d
test/classes/Controllers/Table/StructureControllerTest.php
@@ -18,6 +18,7 @@
18
use PhpMyAdmin\Util;
19
use PHPUnit\Framework\Attributes\CoversClass;
20
use ReflectionClass;
21
+use ReflectionProperty;
22
23
#[CoversClass(StructureController::class)]
24
class StructureControllerTest extends AbstractTestCase
@@ -47,6 +48,7 @@ public function testStructureController(): void
47
48
$GLOBALS['cfg']['ShowStats'] = false;
49
$GLOBALS['cfg']['ShowPropertyComments'] = false;
50
(new ReflectionClass(Relation::class))->getProperty('cache')->setValue([]);
51
+ (new ReflectionProperty(Template::class, 'twig'))->setValue(null);
52
53
$this->dummyDbi->addSelectDb('test_db');
54
0 commit comments