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] Clean up various test scenarios #3637

Merged
merged 2 commits into from
May 16, 2023

Conversation

bmack
Copy link
Collaborator

@bmack bmack commented May 15, 2023

What this pr does

This change removes unused imports, and additional magic within the main "IntegrationTest" to make use of TYPO3's
Testing Framework API as much as possible.

The last tests missing now need proper changes within the actual code base to remove direct dependencies to TSFE
to reduce further global state (see $GLOBALS['TSFE'] and $GLOBALS['TYPO3_REQUEST'] usages in Tests/Integration).

Other parts have been moved to the respective test classes in order to reduce legacy code functionality.

This change removes unused imports,
and additional magic within the main
"IntegrationTest" to make use of TYPO3's
Testing Framework API as much as possible.

The last tests need proper changes
within the actual code base to
remove direct dependencies to TSFE.

Other parts have been moved to the
respective test classes in order to
reduce legacy code functionality.
Copy link
Collaborator

@dkd-kaehm dkd-kaehm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

small typo

Copy link
Collaborator

@dkd-kaehm dkd-kaehm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Benni. I'll merge this PR.

@dkd-kaehm dkd-kaehm merged commit 689ad06 into TYPO3-Solr:main May 16, 2023
@dkd-kaehm dkd-kaehm mentioned this pull request Oct 13, 2023
1 task
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