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] Ensure TestCase::setUp() parent call chain in tests #386

Merged
merged 1 commit into from
Dec 12, 2024

Conversation

sbuerk
Copy link
Contributor

@sbuerk sbuerk commented Dec 12, 2024

Next typo3/testing-framework version 8.x
includes additional integrity checks within
the provided abstract test cases.

That requires that setUp() and tearDown() calls
needs to hit the parent methods. Some tests overrides
the setUp() method in tests but fail to call the
parent method.

This change adds the missing parent::setUp() calls to
prepare towards upgrading typo3/testing-framework.

Next `typo3/testing-framework` version `8.x`
includes additional integrity checks within
the provided abstract test cases.

That requires that `setUp()` and `tearDown()` calls
needs to hit the parent methods. Some tests overrides
the `setUp()` method in tests but fail to call the
parent method.

This change adds the missing `parent::setUp()` calls to
prepare towards upgrading `typo3/testing-framework`.
@sbuerk sbuerk added the task A task for code improvement label Dec 12, 2024
@sbuerk
Copy link
Contributor Author

sbuerk commented Dec 12, 2024

Merging without approval as de-facto no brainer and only testing setup related.

@sbuerk sbuerk merged commit 568f0fd into main Dec 12, 2024
4 checks passed
@sbuerk sbuerk deleted the parent-setup-calls-in-tests branch December 12, 2024 11:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
task A task for code improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant