public function update(Connection
$connection): void
{ $updateCustomerGroupRegistrationAcceptedMail =
new MailUpdate( MailTemplateTypes::MAILTYPE_CUSTOMER_GROUP_REGISTRATION_ACCEPTED,
(string) file_get_contents(__DIR__ . '/../Fixtures/mails/customer.group.registration.accepted/en-plain.html.twig'
),
(string) file_get_contents(__DIR__ . '/../Fixtures/mails/customer.group.registration.accepted/en-html.html.twig'
),
(string) file_get_contents(__DIR__ . '/../Fixtures/mails/customer.group.registration.accepted/de-plain.html.twig'
),
(string) file_get_contents(__DIR__ . '/../Fixtures/mails/customer.group.registration.accepted/de-html.html.twig'
),
);
$this->
updateMail($updateCustomerGroupRegistrationAcceptedMail,
$connection);
$updateCustomerGroupRegistrationDeclinedMail =
new MailUpdate( MailTemplateTypes::MAILTYPE_CUSTOMER_GROUP_REGISTRATION_DECLINED,
(string) file_get_contents(__DIR__ . '/../Fixtures/mails/customer.group.registration.declined/en-plain.html.twig'
),
(string) file_get_contents(__DIR__ . '/../Fixtures/mails/customer.group.registration.declined/en-html.html.twig'
),
(string) file_get_contents(__DIR__ . '/../Fixtures/mails/customer.group.registration.declined/de-plain.html.twig'
),
(string) file_get_contents(__DIR__ . '/../Fixtures/mails/customer.group.registration.declined/de-html.html.twig'
),
);
$this->
updateMail($updateCustomerGroupRegistrationDeclinedMail,
$connection);
$updateCustomerGroupChangeAcceptMail =
new MailUpdate(