3 * Tests for PMA_StorageEngine_ndbcluster
6 declare(strict_types
=1);
8 namespace PhpMyAdmin\Tests\Engines
;
10 use PhpMyAdmin\Engines\Ndbcluster
;
11 use PhpMyAdmin\Tests\AbstractTestCase
;
13 class NdbclusterTest
extends AbstractTestCase
15 /** @var Ndbcluster */
19 * Sets up the fixture, for example, opens a network connection.
20 * This method is called before a test is executed.
24 protected function setUp(): void
27 $GLOBALS['server'] = 0;
28 $this->object = new Ndbcluster('nbdcluster');
32 * Tears down the fixture, for example, closes a network connection.
33 * This method is called after a test is executed.
37 protected function tearDown(): void
44 * Test for getVariables
46 public function testGetVariables(): void
49 $this->object->getVariables(),
51 'ndb_connectstring' => [],
57 * Test for getVariablesLikePattern
59 public function testGetVariablesLikePattern(): void
62 $this->object->getVariablesLikePattern(),
68 * Test for getMysqlHelpPage
70 public function testGetMysqlHelpPage(): void
73 $this->object->getMysqlHelpPage(),