events/Tests/Functional/Import/DestinationDataTest/AbstractTestCase.php
Daniel Siepmann 81065f5c67
BREAKING: TYPO3 v12 support (#44)
* Migrated all fixtures to PHP.
* Removed version specific adjustments.
2023-11-27 10:04:42 +01:00

28 lines
738 B
PHP

<?php
declare(strict_types=1);
namespace WerkraumMedia\Events\Tests\Functional\Import\DestinationDataTest;
use WerkraumMedia\Events\Tests\Functional\AbstractFunctionalTestCase;
abstract class AbstractTestCase extends AbstractFunctionalTestCase
{
protected function setUp(): void
{
$this->coreExtensionsToLoad[] = 'filemetadata';
parent::setUp();
$this->importPHPDataSet(__DIR__ . '/Fixtures/Database/Structure.php');
}
protected function assertEmptyLog(): void
{
self::assertFileEquals(
__DIR__ . '/Assertions/EmptyLogFile.txt',
$this->getInstancePath() . '/typo3temp/var/log/typo3_0493d91d8e.log',
'Logfile was not empty.'
);
}
}