diff options
author | Maurício Meneghini Fauth <mauricio@fauth.dev> | 2022-11-08 04:06:59 +0300 |
---|---|---|
committer | Maurício Meneghini Fauth <mauricio@fauth.dev> | 2022-11-08 04:06:59 +0300 |
commit | 97aac39a40cef8f0ec63f380be79e14c4633bd67 (patch) | |
tree | 98566ce042c48301b5791bea1d889c259a566da7 /test | |
parent | 4405b8afa42ad4057189a48b1ab6ca14d04403fc (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.php | 4 |
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); } |