Skip to content

[WIP][TASK] Refactor tests #470

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

[WIP][TASK] Refactor tests #470

wants to merge 1 commit into from

Conversation

calien666
Copy link
Member

The tests used a php mocking system, which did not respect the TYPO3 configurations for HTTP and used the functionality of cURL requests instead of the TYPO3 RequestFactory, which respects all settings.

This has bad impacts on testing, in special for proxy and building correct requests against the DeepL API. Therefore, the AbstractDeepLTestCase is refactored using proper TYPO3 configuration.

The tests used a php mocking system, which did not respect the TYPO3
configurations for HTTP and used the functionality of cURL requests
instead of the TYPO3 RequestFactory, which respects all settings.

This has bad impacts on testing, in special for proxy and building
correct requests against the DeepL API. Therefore, the
AbstractDeepLTestCase is refactored using proper TYPO3 configuration.
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.

1 participant