try to fix test

This commit is contained in:
Etienne Roudeix
2013-09-27 09:30:22 +02:00
parent 49da6b1a3b
commit 4bdc06e216
2 changed files with 4 additions and 4 deletions

View File

@@ -238,7 +238,7 @@ class OrderTest extends \PHPUnit_Framework_TestCase
->findOne();
if(null === $deliveryModule) {
return;
throw new \Exception('No Delivery Module fixture found');
}
$paymentModule = ModuleQuery::create()
@@ -247,7 +247,7 @@ class OrderTest extends \PHPUnit_Framework_TestCase
->findOne();
if(null === $paymentModule) {
return;
throw new \Exception('No Payment Module fixture found');
}
$this->orderEvent->getOrder()->chosenDeliveryAddress = $validDeliveryAddress->getId();

View File

@@ -141,7 +141,7 @@ try {
$stmt->execute();
echo "Creating customer\n";
echo "Creating customers\n";
//customer
$customer = new Thelia\Model\Customer();
@@ -291,7 +291,7 @@ try {
->save();
}
echo "Creating folders and content\n";
echo "Creating folders and contents\n";
//folders and contents
$contentIdList = array();