Skip to content
Snippets Groups Projects
Commit c19c11c0 authored by Christian Kuhn's avatar Christian Kuhn Committed by Benni Mack
Browse files

[TASK] Avoid request dependent data in scheduler test task

Accessing request dependent data in a scheduler
task is problematic on CLI. For this reason tasks
have no setRequest() method or similar.

The task does not loose much information avoiding
a GU::getIndpEnv() for the test mail, and the
setRequest() on the mail object is unused.

Change-Id: I87a74c1d48eaa894c2859b235886ed57300c8a8b
Resolves: #94748
Related: #94632
Releases: master
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/70289


Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
parent f4575809
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