Skip to content
Snippets Groups Projects
Commit 71078914 authored by Christian Kuhn's avatar Christian Kuhn Committed by Stefan Bürk
Browse files

[TASK] Avoid MockEventDispatcher

The MockEventDispatcher unit test fixture became
useless with introduction of NoopEventDispatcher.

The patch removes last remains: Most simply inject
NoopEventDispatcher, some others create a mock of
EventDispatcherInterface and use it for event
manipulation when testing $subjects that act on
event results.

Resolves: #104273
Related: #97449
Related: #98016
Releases: main
Change-Id: I0babc60cdd3c87bf9f25a931edfd3f47f642bfae
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/85032


Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarStefan Bürk <stefan@buerk.tech>
Tested-by: default avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: default avatarStefan Bürk <stefan@buerk.tech>
Reviewed-by: default avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
parent 7e6e733c
Branches
Tags
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment