Working : Fixture : fix coupon table not cleaned

This commit is contained in:
gmorel
2013-09-17 12:24:20 +02:00
parent 67060c6367
commit 2bebb5697a

View File

@@ -135,6 +135,8 @@ try {
\Thelia\Model\FolderDocumentQuery::create()->find()->delete();
\Thelia\Model\ContentDocumentQuery::create()->find()->delete();
\Thelia\Model\CouponQuery::create()->find()->delete();
$stmt = $con->prepare("SET foreign_key_checks = 1");
$stmt->execute();