Project

General

Profile

Actions

Task #87739

closed

Epic #83968: PSR-11 Initiative

Mock ResourceFactory Singleton instantation in unit tests

Added by Benjamin Franzke about 5 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Start date:
2019-02-19
Due date:
% Done:

100%

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

Description

This prevents indirect SignalSlotDispatcher and ObjectManager
invocation by stubbing the ResourceFactory (or removing unneeded
mocks by preventing constructor invocation as in ImageServiceTest).

Actions

Also available in: Atom PDF