try to fix test
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user