mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 09:02:12 +00:00
Change fixtures - add createdAt different time for customers
This commit is contained in:
parent
1e216bf099
commit
593bd945c8
1 changed files with 10 additions and 0 deletions
|
|
@ -48,6 +48,15 @@ Sylius\Component\Core\Model\Customer:
|
|||
email: "<current()>\\@doe.com"
|
||||
emailCanonical: "<current()>\\@doe.com"
|
||||
birthday: "<(new \\DateTime())>"
|
||||
createdAt: "<(new \\DateTime('-1 days'))>"
|
||||
group: '@group_premium'
|
||||
customer_{dave}:
|
||||
firstName: "<current()>"
|
||||
lastName: "Doe"
|
||||
email: "<current()>\\@doe.com"
|
||||
emailCanonical: "<current()>\\@doe.com"
|
||||
birthday: "<(new \\DateTime())>"
|
||||
createdAt: "<(new \\DateTime('-2 days'))>"
|
||||
group: '@group_premium'
|
||||
customer_{tony}:
|
||||
firstName: "<current()>"
|
||||
|
|
@ -55,4 +64,5 @@ Sylius\Component\Core\Model\Customer:
|
|||
email: "<current()>\\@doe.com"
|
||||
emailCanonical: "<current()>\\@doe.com"
|
||||
birthday: "<(new \\DateTime())>"
|
||||
createdAt: "<(new \\DateTime('-3 days'))>"
|
||||
defaultAddress: '@address'
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue