update faker, insert plenty of customers

This commit is contained in:
Manuel Raynaud
2013-09-11 20:43:44 +02:00
parent 3e301a9fc1
commit 10f97a7348
2 changed files with 21 additions and 1 deletions

View File

@@ -156,6 +156,25 @@ try {
"azerty"
);
for($i = 0; $i < 50; $i++) {
$customer = new Thelia\Model\Customer();
$customer->createOrUpdate(
1,
"thelia".$i,
"thelia".$i,
"5 rue rochon",
"",
"",
"0102030405",
"0601020304",
"63000",
"clermont-ferrand",
64,
sprintf("test%d@thelia.net", $i),
"azerty".$i
);
}
//features and features_av
$featureList = array();
for($i=0; $i<4; $i++) {