Sylius/tests/Api/DataFixtures/ORM/address_with_customer.yaml
2024-02-22 15:34:33 +01:00

28 lines
844 B
YAML

Sylius\Component\Core\Model\Address:
address:
firstName: "John"
lastName: "Doe"
customer: '@customer_tony'
company: "CocaCola"
street: "Green Avenue"
countryCode: "US"
city: "New York"
postcode: "00000"
phoneNumber: "123456789"
Sylius\Component\Core\Model\ShopUser:
shop_user_{tony}:
plainPassword: "sylius"
roles: [ROLE_USER]
enabled: true
customer: "@customer_<current()>"
username: "<current()>\\@example.com"
usernameCanonical: "<current()>\\@example.com"
Sylius\Component\Core\Model\Customer:
customer_{tony}:
firstName: "<current()>"
lastName: "Jones"
email: "<current()>\\@example.com"
emailCanonical: "<current()>\\@example.com"
birthday: "<(new \\DateTime())>"