'core.loginRegistration.passwordMinLength' => '8',
],
'core.systemWideLoginRegistration.isCustomerBoundToSalesChannel' => true,
]);
$customerEntity =
new CustomerEntity();
$customerEntity->
setDoubleOptInRegistration(false
);
$customerEntity->
setId('customer-1'
);
$customerEntity->
setGuest(false
);
$customerRepository =
new StaticEntityRepository([ new EntitySearchResult( 'customer',
1,
new EntityCollection([$customerEntity]),
null,
new Criteria(),
Context::
createDefaultContext(),
),
],
new CustomerDefinition());
$definition =
new DataValidationDefinition('address.create'
);