allow token to be null in cart table

This commit is contained in:
Manuel Raynaud
2013-08-06 11:53:30 +02:00
parent e0be762236
commit b18a09b94b
5 changed files with 40 additions and 9 deletions

View File

@@ -20,6 +20,28 @@ try {
->find();
$product->delete();
$customer = Thelia\Model\CustomerQuery::create()
->find();
$customer->delete();
$customer = new Thelia\Model\Customer();
$customer->createOrUpdate(
1,
"thelia",
"thelia",
"5 rue rochon",
"",
"",
"0102030405",
"0601020304",
"63000",
"clermont-ferrand",
64,
"test@thelia.net",
"azerty"
);
//first category
$sweet = new Thelia\Model\Category();
$sweet->setParent(0);