Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TASK] Extract some details from FunctionalTestCase::setUp() #603

Merged
merged 1 commit into from
Jun 28, 2024
Merged

Conversation

sbuerk
Copy link
Collaborator

@sbuerk sbuerk commented Jun 28, 2024

This change modifies the FunctionalTestCase and extract
database setup related code into two dedicated internal
methods:

  • initializeTestDatabase()
  • initializeTestDatabaseAndTruncateTables()

Note that these are marked as internal but needs to be
kept protected to allow one special testcase in the
TYPO3 core [1].

[1] https://review.typo3.org/c/Packages/TYPO3.CMS/+/84942

This change modifies the `FunctionalTestCase` and extract
database setup related code into two dedicated internal
methods:

* initializeTestDatabase()
* initializeTestDatabaseAndTruncateTables()

Note that these are marked as internal but needs to be
kept `protected` to allow one special testcase in the
TYPO3 core [1].

[1] https://review.typo3.org/c/Packages/TYPO3.CMS/+/84942
@sbuerk sbuerk merged commit b778734 into main Jun 28, 2024
4 checks passed
@sbuerk sbuerk deleted the stefan-1 branch June 28, 2024 17:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants