$this->connection->
executeStatement('DELETE FROM mail_header_footer'
);
} catch (\Exception
$e) { static::
fail('Failed to remove testdata: ' .
$e->
getMessage());
} } /**
* Test single CREATE
*/
public function testMailHeaderFooterSingleCreate(): void
{ $data =
$this->
prepareHeaderFooterTestData();
$id =
array_key_first($data);
$this->repository->
create([$data[$id]],
$this->context
);
$record =
$this->connection->
fetchAssociative( 'SELECT *
FROM mail_header_footer mhf
JOIN mail_header_footer_translation mhft
ON mhf.id=mhft.mail_header_footer_id
WHERE id = :id',
[