Sylius/tests/DataFixtures/ORM/resources/customers.yml
2018-03-20 12:38:05 +01:00

16 lines
563 B
YAML

Sylius\Component\Core\Model\ShopUser:
user_{Oliver, Roy, Thea}:
plainPassword: "123pa\\$\\$word"
roles: [ROLE_USER]
enabled: true
customer: "@customer_<current()>"
username: "<current()>\\@doe.com"
usernameCanonical: "<current()>\\@doe.com"
Sylius\Component\Core\Model\Customer:
customer_{Oliver, Roy, Thea, Barry, Joe}:
firstName: "<current()>"
lastName: "Doe"
email: "<current()>\\@doe.com"
emailCanonical: "<current()>\\@doe.com"
birthday: "<(new \\DateTime())>"