[TASK] Removes eval() in core mailer unit test 48/40448/3
authorPierrick Caillon <pierrick.caillon@plan-net.fr>
Thu, 18 Jun 2015 13:26:53 +0000 (15:26 +0200)
committerMarkus Klein <markus.klein@typo3.org>
Thu, 18 Jun 2015 21:06:02 +0000 (23:06 +0200)
commit341b7d4101876e2adbfe779618f31800027d1806
treeed42c6d07129aa1669d9e1b62b1770e8b4607e6a
parent0fd62ff54b2dba0d3fc5a342322872345b2a88db
[TASK] Removes eval() in core mailer unit test

Adds fixture for FakeTransport and removes the ugly usage of
eval() from MailerTest in unit tests.

Resolves: #67604
Related: #67468
Releases: master
Change-Id: I37011a5eaadc0abac38e1c53bcd20bbe3e62f4fd
Reviewed-on: http://review.typo3.org/40448
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
typo3/sysext/core/Tests/Unit/Mail/Fixtures/FakeTransportFixture.php [new file with mode: 0644]
typo3/sysext/core/Tests/Unit/Mail/MailerTest.php