Skip to content
Snippets Groups Projects
Commit 4d35f809 authored by Christian Kuhn's avatar Christian Kuhn
Browse files

[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: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarStefan Bürk <stefan@buerk.tech>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarStefan Bürk <stefan@buerk.tech>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
parent 2edf8b89
Branches
Tags
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment