[phpmyadmin/phpmyadmin] ac7651: Add integration tests for export plugin structure methods
Branch: refs/heads/master Home: https://github.com/phpmyadmin/phpmyadmin Commit: ac76515abce7e14a33eee6802b7db4223a3975e6 https://github.com/phpmyadmin/phpmyadmin/commit/ac76515abce7e14a33eee6802b7d... Author: efturtle <mexslacker@gmail.com> Date: 2026-01-03 (Sat, 01 January 2026) -06:00 Changed paths: M tests/unit/Plugins/Export/ExportHtmlwordTest.php M tests/unit/Plugins/Export/ExportLatexTest.php M tests/unit/Plugins/Export/ExportMediawikiTest.php M tests/unit/Plugins/Export/ExportOdtTest.php M tests/unit/Plugins/Export/ExportPdfTest.php Log Message: ----------- Add integration tests for export plugin structure methods Tests verify exportStructure() methods are properly invoked through Export::exportTable() for plugins that support export structure Theses tests ensure that when exporting table structure through the Export class, the specific plugin structure export methods are called with the correct parameters Signed-off-by: efturtle <mexslacker@gmail.com> Commit: 47a09dabd9a0782fccf956aa0bf7debebd8f788b https://github.com/phpmyadmin/phpmyadmin/commit/47a09dabd9a0782fccf956aa0bf7... Author: Alberto Cuevas <mexslacker@gmail.com> Date: 2026-01-03 (Sat, 01 January 2026) -06:00 Changed paths: M tests/unit/Plugins/Export/ExportHtmlwordTest.php M tests/unit/Plugins/Export/ExportLatexTest.php M tests/unit/Plugins/Export/ExportMediawikiTest.php M tests/unit/Plugins/Export/ExportOdtTest.php M tests/unit/Plugins/Export/ExportPdfTest.php Log Message: ----------- Refactor export plugin integration tests - Renamed test methods to testExportTableCallsExportStructureMethod for clarity - Removed excessive mocking and focused on integration testing - Simplified test setup by removing unnecessary database/table mocks - Updated assertions to verify actual export output content - Made tests more maintainable and easier to understand - Consistent test structure across ExportHtmlword, ExportLatex, ExportMediawiki, ExportOdt, and ExportPdf plugins Signed-off-by: Alberto Cuevas <mexslacker@gmail.com> Commit: 142faabc8faf92159b76766edd013baedd2b3ad1 https://github.com/phpmyadmin/phpmyadmin/commit/142faabc8faf92159b76766edd01... Author: Alberto Cuevas <mexslacker@gmail.com> Date: 2026-01-03 (Sat, 01 January 2026) -06:00 Changed paths: M tests/unit/Plugins/Export/ExportPdfTest.php Log Message: ----------- Remove trailing whitespace from ExportPdfTest.php Signed-off-by: Alberto Cuevas <mexslacker@gmail.com> Commit: 80b2e5c83f4e66b8c72774dd7136297d7c725465 https://github.com/phpmyadmin/phpmyadmin/commit/80b2e5c83f4e66b8c72774dd7136... Author: Alberto Cuevas <mexslacker@gmail.com> Date: 2026-01-05 (Mon, 01 January 2026) -06:00 Changed paths: M tests/unit/Plugins/Export/ExportHtmlwordTest.php M tests/unit/Plugins/Export/ExportLatexTest.php M tests/unit/Plugins/Export/ExportMediawikiTest.php M tests/unit/Plugins/Export/ExportOdtTest.php M tests/unit/Plugins/Export/ExportPdfTest.php Log Message: ----------- test: export plugin integration tests - Use this->object instead of creating new plugin instances - set export options instead of reflection Signed-off-by: Alberto Cuevas <mexslacker@gmail.com> Commit: 534e751f6426d52bc242db38ec0dbf8181ea965e https://github.com/phpmyadmin/phpmyadmin/commit/534e751f6426d52bc242db38ec0d... Author: Kamil Tekiela <tekiela246@gmail.com> Date: 2026-01-15 (Thu, 01 January 2026) +00:00 Changed paths: M phpstan-baseline.neon M psalm-baseline.xml M src/Navigation/Nodes/Node.php M tests/unit/Navigation/Nodes/NodeTest.php Log Message: ----------- Fix selectedServer['only_db'] Signed-off-by: Kamil Tekiela <tekiela246@gmail.com> Commit: ca32f26cdab570f70c5619ad703a2ee6ab4c54bb https://github.com/phpmyadmin/phpmyadmin/commit/ca32f26cdab570f70c5619ad703a... Author: Kamil Tekiela <tekiela246@gmail.com> Date: 2026-01-15 (Thu, 01 January 2026) +00:00 Changed paths: M phpstan-baseline.neon M psalm-baseline.xml M src/Navigation/NavigationTree.php M src/Navigation/Nodes/Node.php M tests/unit/Navigation/Nodes/NodeTest.php Log Message: ----------- Refactor getDataFromShowDatabases() Signed-off-by: Kamil Tekiela <tekiela246@gmail.com> Commit: 103a265ee0a997993101c65f8aafbfc921211fff https://github.com/phpmyadmin/phpmyadmin/commit/103a265ee0a997993101c65f8aaf... Author: Kamil Tekiela <tekiela246@gmail.com> Date: 2026-01-15 (Thu, 01 January 2026) +00:00 Changed paths: M phpstan-baseline.neon M psalm-baseline.xml M src/Navigation/Nodes/Node.php Log Message: ----------- Refactor getDataFromShowDatabasesLike() Signed-off-by: Kamil Tekiela <tekiela246@gmail.com> Commit: b0ebee9cfd59755e2b243dc056d94cf094ffd7f0 https://github.com/phpmyadmin/phpmyadmin/commit/b0ebee9cfd59755e2b243dc056d9... Author: Kamil Tekiela <tekiela246@gmail.com> Date: 2026-01-15 (Thu, 01 January 2026) +00:00 Changed paths: M phpstan-baseline.neon M psalm-baseline.xml M src/Navigation/Nodes/Node.php Log Message: ----------- Refactor getPresence() Signed-off-by: Kamil Tekiela <tekiela246@gmail.com> Commit: 35f1cd5cdace1da730317fd2330948c74c45fc82 https://github.com/phpmyadmin/phpmyadmin/commit/35f1cd5cdace1da730317fd23309... Author: Kamil Tekiela <tekiela246@gmail.com> Date: 2026-01-15 (Thu, 01 January 2026) +00:00 Changed paths: M phpstan-baseline.neon M psalm-baseline.xml M src/Navigation/Nodes/NodeColumn.php M src/Navigation/Nodes/NodeTable.php Log Message: ----------- Add better type hint Signed-off-by: Kamil Tekiela <tekiela246@gmail.com> Commit: 8688834dc7aed59d46856f151100b345f9b41170 https://github.com/phpmyadmin/phpmyadmin/commit/8688834dc7aed59d46856f151100... Author: Kamil Tekiela <tekiela246@gmail.com> Date: 2026-01-16 (Fri, 01 January 2026) +00:00 Changed paths: M phpstan-baseline.neon M psalm-baseline.xml M src/Navigation/Nodes/NodeTable.php M tests/unit/Navigation/Nodes/NodeTableTest.php Log Message: ----------- Fix bug and add tests Signed-off-by: Kamil Tekiela <tekiela246@gmail.com> Commit: 3c9957475ebb7f8ab18c30bbec4a124abc5fb19e https://github.com/phpmyadmin/phpmyadmin/commit/3c9957475ebb7f8ab18c30bbec4a... Author: Kamil Tekiela <tekiela246@gmail.com> Date: 2026-01-16 (Fri, 01 January 2026) +00:00 Changed paths: M src/Navigation/Nodes/NodeTable.php Log Message: ----------- Align order by See #19568 Signed-off-by: Kamil Tekiela <tekiela246@gmail.com> Commit: cd1b3ad028cbb6f0d13c2dbe23ed263da78433f0 https://github.com/phpmyadmin/phpmyadmin/commit/cd1b3ad028cbb6f0d13c2dbe23ed... Author: William Desportes <williamdes@wdes.fr> Date: 2026-01-17 (Sat, 01 January 2026) +01:00 Changed paths: M phpstan-baseline.neon M psalm-baseline.xml M src/Navigation/NavigationTree.php M src/Navigation/Nodes/Node.php M src/Navigation/Nodes/NodeColumn.php M src/Navigation/Nodes/NodeTable.php M tests/unit/Navigation/Nodes/NodeTableTest.php M tests/unit/Navigation/Nodes/NodeTest.php Log Message: ----------- Merge #20025 - Nodes refactoring Pull-request: #20025 Signed-off-by: William Desportes <williamdes@wdes.fr> Commit: 228696e32b83f2c5d7d3e099e4cf7cef4f95b9c0 https://github.com/phpmyadmin/phpmyadmin/commit/228696e32b83f2c5d7d3e099e4cf... Author: William Desportes <williamdes@wdes.fr> Date: 2026-01-17 (Sat, 01 January 2026) +01:00 Changed paths: M phpstan-baseline.neon M tests/unit/Plugins/Export/ExportHtmlwordTest.php M tests/unit/Plugins/Export/ExportLatexTest.php M tests/unit/Plugins/Export/ExportMediawikiTest.php M tests/unit/Plugins/Export/ExportOdtTest.php Log Message: ----------- Merge #20004 - Add integration tests for export plugin structure methods Pull-request: #20004 Signed-off-by: William Desportes <williamdes@wdes.fr>
participants (1)
-
efturtle