TASK: Add test for command renderer

This commit is contained in:
Daniel Siepmann 2017-12-14 23:26:39 +01:00
parent eba401aa9f
commit 4794287b2d
Signed by: Daniel Siepmann
GPG key ID: 33D6629915560EF4
3 changed files with 69 additions and 3 deletions

View file

@ -6,7 +6,7 @@ use TYPO3\CMS\Core\Utility\GeneralUtility;
class Command implements RendererInterface
{
protected function getHtmlFromMjml($mjml)
public function getHtmlFromMjml($mjml)
{
$configuration = unserialize($GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['mjml']);

File diff suppressed because one or more lines are too long

View file

@ -16,13 +16,13 @@
<testsuites>
<testsuite name="unit-tests">
<directory>./Tests/Unit/</directory>
<directory>./Tests/Unit</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory suffix=".php">Classes</directory>
<directory suffix=".php">./Classes</directory>
</whitelist>
</filter>
</phpunit>