Project

General

Profile

Actions

Task #91990

closed

Remove workaround for testing-framework not loading ext:fluid by default

Added by Anja Leichsenring over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2020-08-12
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

With #88689 a dependency from sysext:backend to sysext:fluid became obvious, what led to errors in functional testing. The testing-framework loads sysext:backend by default, but not sysext:fluid. Up to this introduction of underlaying infrastructure (namely Dependency Injection) this did no harm, as testing classes can define their dependencies on demand.

To avoid further errors during testing, a workaround was introduced that disabled autowiring for the TemplateView class, the one which carries the dependency to sysext:fluid.

When testing-framework loads sysext:fluid by default for functional tests, the workaround can be removed from sysext:backend. Therefor it will be possible again to autowire the TemplateView class as would be expected.


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Feature #88689: Support for system-wide class dependency injection, PSR-11Closed2019-07-05

Actions
Related to TYPO3 Core - Bug #92083: minimum requirement for testing-framework too lowClosedAnja Leichsenring2020-08-24

Actions
Actions

Also available in: Atom PDF