mirror of
https://github.com/werkraum-media/events.git
synced 2024-11-23 04:16:10 +01:00
Daniel Siepmann
3d0d5d8645
A new PSR-14 event is added that allows to modify the event right before it is persisted within Destination Data One import. This for example allows to alter dates, prices, etc. Improve handling of missing end time in dates.
26 lines
688 B
PHP
26 lines
688 B
PHP
<?php
|
|
|
|
namespace Wrm\Events\Tests\Functional\Import\DestinationDataTest;
|
|
|
|
use Wrm\Events\Tests\Functional\AbstractFunctionalTestCase;
|
|
|
|
abstract class AbstractTest 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.'
|
|
);
|
|
}
|
|
}
|