2021-12-15 12:28:06 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Wrm\Events\Tests\Functional\Import\DestinationDataTest;
|
|
|
|
|
2023-05-16 09:46:53 +02:00
|
|
|
use Wrm\Events\Tests\Functional\AbstractFunctionalTestCase;
|
2021-12-15 12:28:06 +01:00
|
|
|
|
2023-05-16 09:46:53 +02:00
|
|
|
abstract class AbstractTest extends AbstractFunctionalTestCase
|
2021-12-15 12:28:06 +01:00
|
|
|
{
|
|
|
|
protected function setUp(): void
|
|
|
|
{
|
2023-08-10 14:20:37 +02:00
|
|
|
$this->coreExtensionsToLoad[] = 'filemetadata';
|
2023-06-19 10:22:54 +02:00
|
|
|
|
2021-12-15 12:28:06 +01:00
|
|
|
parent::setUp();
|
|
|
|
|
2023-05-15 11:58:19 +02:00
|
|
|
$this->importPHPDataSet(__DIR__ . '/Fixtures/Database/Structure.php');
|
2022-07-13 15:58:05 +02:00
|
|
|
}
|
2023-07-04 10:11:26 +02:00
|
|
|
|
|
|
|
protected function assertEmptyLog(): void
|
|
|
|
{
|
|
|
|
self::assertFileEquals(
|
|
|
|
__DIR__ . '/Assertions/EmptyLogFile.txt',
|
|
|
|
$this->getInstancePath() . '/typo3temp/var/log/typo3_0493d91d8e.log',
|
|
|
|
'Logfile was not empty.'
|
|
|
|
);
|
|
|
|
}
|
2021-12-15 12:28:06 +01:00
|
|
|
}
|