$doubleOptIn =
$this->connection->
fetchAssociative($sql);
static::
assertIsArray($doubleOptIn);
static::
assertEquals($doubleOptIn['double_opt_in_registration'
],
$doubleOptIn['doubleOptInRegistration'
]);
static::
assertEquals($doubleOptIn['double_opt_in_email_sent_date'
],
$doubleOptIn['doubleOptInEmailSentDate'
]);
static::
assertEquals($doubleOptIn['double_opt_in_confirm_date'
],
$doubleOptIn['doubleOptInConfirmDate'
]);
} private function insertTestCustomer(): void
{ $id = Uuid::
randomHex();
$salutationId =
$this->
getSalutationId();
$customer =
[ 'id' =>
$id,
'customerNumber' => '1337',
'salutationId' =>
$salutationId,
'firstName' => 'Max',
'lastName' => 'Mustermann',
'email' => 'test@example.com',
'password' => TestDefaults::HASHED_PASSWORD,
'defaultPaymentMethodId' =>
$this->
getDefaultPaymentMethodId(),
'groupId' => TestDefaults::FALLBACK_CUSTOMER_GROUP,