mirror of
https://github.com/saccas/mjml-typo3.git
synced 2024-12-05 03:16:09 +01:00
22 lines
577 B
PHP
22 lines
577 B
PHP
<?php
|
|
namespace Saccas\Mjml\Tests\Unit;
|
|
|
|
use TYPO3\CMS\Core\Cache\Backend\NullBackend;
|
|
use TYPO3\CMS\Core\Cache\CacheManager;
|
|
use TYPO3\CMS\Core\Utility\GeneralUtility;
|
|
use TYPO3\TestingFramework\Core\Unit\UnitTestCase;
|
|
|
|
abstract class AbstractUnitTestCase extends UnitTestCase
|
|
{
|
|
public function setUp(): void
|
|
{
|
|
parent::setUp();
|
|
|
|
GeneralUtility::makeInstance(CacheManager::class)
|
|
->setCacheConfigurations([
|
|
'extbase_object' => [
|
|
'backend' => NullBackend::class,
|
|
],
|
|
]);
|
|
}
|
|
}
|