[TASK] Streamline functional test snapshots
The testing-framework functional test db snapshot helper expects the database to be empty when withDatabaseSnapshot() is called. Rows should only be populated within the create callback. There was a workaround in testing-framework to relax this restriction due to unfortunate backend user related setup code flow. This has been resolved with #97928, so the testing-framework snapshot can be more strict on this now. The patch adapts a couple of snapshot usages to align to this enforced restriction. $ composer req --dev typo3/testing-framework:dev-main Change-Id: I50d6dda3671729bd603899e37e7c7d0979c094fe Resolves: #97935 Related: #97928 Releases: main Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/75174 Tested-by:core-ci <typo3@b13.com> Tested-by:
Stefan Bürk <stefan@buerk.tech> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Stefan Bürk <stefan@buerk.tech> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch>
Showing
- composer.lock 4 additions, 4 deletionscomposer.lock
- typo3/sysext/backend/Tests/Functional/Clipboard/ClipboardTest.php 16 additions, 19 deletions...sext/backend/Tests/Functional/Clipboard/ClipboardTest.php
- typo3/sysext/backend/Tests/Functional/Controller/Page/TreeControllerTest.php 4 additions, 4 deletions...d/Tests/Functional/Controller/Page/TreeControllerTest.php
- typo3/sysext/backend/Tests/Functional/View/Drawing/BackendLayoutRendererTest.php 15 additions, 17 deletions...sts/Functional/View/Drawing/BackendLayoutRendererTest.php
- typo3/sysext/core/Tests/Functional/Routing/Aspect/PersistedAliasMapperTest.php 11 additions, 15 deletions...ts/Functional/Routing/Aspect/PersistedAliasMapperTest.php
- typo3/sysext/core/Tests/Functional/Routing/Aspect/PersistedPatternMapperTest.php 10 additions, 15 deletions.../Functional/Routing/Aspect/PersistedPatternMapperTest.php
- typo3/sysext/form/Tests/Functional/RequestHandling/AbstractRequestHandlingTest.php 7 additions, 15 deletions...unctional/RequestHandling/AbstractRequestHandlingTest.php
- typo3/sysext/seo/Tests/Functional/HrefLang/HrefLangGeneratorTest.php 9 additions, 21 deletions...t/seo/Tests/Functional/HrefLang/HrefLangGeneratorTest.php
Please register or sign in to comment