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

[TASK] Speed up a functional test using snapshot

Using functional test related .yaml scenario setup
which uses DataHandler to prime the test database
is pretty slow.
TreeControllerTest can speed up using the
withDatabaseSnapshot() method to cache db results
for subsequent tests.

Resolves: #97934
Releases: main
Change-Id: I4c8f40f181f77bf07a0b26825138cb1577fe441e
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/75173


Tested-by: default avatarAndreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarAndreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
parent 559269cd
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