[TASK] Avoid unnecessary database snapshot in two test-cases
Two functional tests use the testing-framework db snapshot feature without really needing it. Those can be simplified. This patch removes the `withDatabaseSnapshot()` usage, and cleans one test which fails to free an only partially fetched db result set, which otherwise leads to fails with sqlite. Resolves: #97932 Releases: main Change-Id: I52d97000c1e8129bc0faa601d990e5274f416d4f Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/75171 Tested-by:Andreas Fernandez <a.fernandez@scripting-base.de> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch>
Showing
- typo3/sysext/core/Tests/Functional/Database/Query/QueryBuilder/NamedPlaceholderPreparedStatementTest.php 0 additions, 7 deletions...ry/QueryBuilder/NamedPlaceholderPreparedStatementTest.php
- typo3/sysext/core/Tests/Functional/Database/Query/QueryBuilder/PositionPlaceholderPreparedStatementTest.php 7 additions, 8 deletions...QueryBuilder/PositionPlaceholderPreparedStatementTest.php
Please register or sign in to comment