Project

General

Profile

Actions

Task #104174

closed

Reduce GU::makeInstance usage in functional tests

Added by Anja Leichsenring 9 days ago. Updated 9 days ago.

Status:
Resolved
Priority:
Should have
Category:
Tests
Target version:
-
Start date:
2024-06-21
Due date:
% Done:

100%

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

Description

Additional potential functionality (XClass resolving, etc.) of
GU::makeInstance is usually not a wanted behaviour in functional tests.
Instead, use $this->get() from the FunctionalTestClass to get hold of services.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #103902: Reduce GU::makeInstance usage in unit testsResolvedAnja Leichsenring2024-05-24

Actions
Actions

Also available in: Atom PDF