Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMaurício Meneghini Fauth <mauricio@fauth.dev>2022-11-08 04:06:59 +0300
committerMaurício Meneghini Fauth <mauricio@fauth.dev>2022-11-08 04:06:59 +0300
commit97aac39a40cef8f0ec63f380be79e14c4633bd67 (patch)
tree98566ce042c48301b5791bea1d889c259a566da7 /test
parent4405b8afa42ad4057189a48b1ab6ca14d04403fc (diff)
Remove the sub_part global variable
It's only used inside Util::getDbInfo() for pagination when not exporting. Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
Diffstat (limited to 'test')
-rw-r--r--test/classes/UtilTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/classes/UtilTest.php b/test/classes/UtilTest.php
index 728e7a682f..781a3a2183 100644
--- a/test/classes/UtilTest.php
+++ b/test/classes/UtilTest.php
@@ -2545,8 +2545,8 @@ class UtilTest extends AbstractTestCase
'TABLE_COMMENT' => '',
'TABLE_TYPE' => 'BASE TABLE',
];
- $expected = [['test_table' => $tableInfo], 1, 1, '_structure', true, false, [], [], 0];
- $actual = Util::getDbInfo('test_db', '');
+ $expected = [['test_table' => $tableInfo], 1, 1, true, false, [], [], 0];
+ $actual = Util::getDbInfo('test_db');
$this->assertSame($expected, $actual);
}