mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 21:34:25 +00:00
better fixture for AddressReference
This commit is contained in:
parent
17c01d9b46
commit
1587c762f8
@ -65,8 +65,8 @@ class LoadAddressReferences extends AbstractFixture implements ContainerAwareInt
|
|||||||
{
|
{
|
||||||
$ar= new AddressReference();
|
$ar= new AddressReference();
|
||||||
|
|
||||||
$ar->setRefId($this->faker->phoneNumber);
|
$ar->setRefId($this->faker->numerify('ref-id-######'));
|
||||||
$ar->setStreet($this->faker->streetAddress);
|
$ar->setStreet($this->faker->streetName);
|
||||||
$ar->setStreetNumber(rand(0,199));
|
$ar->setStreetNumber(rand(0,199));
|
||||||
$ar ->setPoint($this->getRandomPoint());
|
$ar ->setPoint($this->getRandomPoint());
|
||||||
$ar->setPostcode($this->getReference(
|
$ar->setPostcode($this->getReference(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user