/
home
/
obinna
/
html
/
stage
/
phpmyadmin
/
tests
/
unit
/
Navigation
/
Nodes
/
Upload File
HOME
<?php declare(strict_types=1); namespace PhpMyAdmin\Tests\Navigation\Nodes; use PhpMyAdmin\Config; use PhpMyAdmin\Navigation\Nodes\NodeIndex; use PhpMyAdmin\Tests\AbstractTestCase; use PHPUnit\Framework\Attributes\CoversClass; #[CoversClass(NodeIndex::class)] class NodeIndexTest extends AbstractTestCase { /** * Test for __construct */ public function testConstructor(): void { $parent = new NodeIndex(new Config(), 'default'); self::assertSame( [ 'text' => ['route' => '/table/indexes', 'params' => ['db' => null, 'table' => null, 'index' => null]], 'icon' => ['route' => '/table/indexes', 'params' => ['db' => null, 'table' => null, 'index' => null]], ], $parent->links, ); } }