try to fix test
This commit is contained in:
@@ -238,7 +238,7 @@ class OrderTest extends \PHPUnit_Framework_TestCase
|
|||||||
->findOne();
|
->findOne();
|
||||||
|
|
||||||
if(null === $deliveryModule) {
|
if(null === $deliveryModule) {
|
||||||
return;
|
throw new \Exception('No Delivery Module fixture found');
|
||||||
}
|
}
|
||||||
|
|
||||||
$paymentModule = ModuleQuery::create()
|
$paymentModule = ModuleQuery::create()
|
||||||
@@ -247,7 +247,7 @@ class OrderTest extends \PHPUnit_Framework_TestCase
|
|||||||
->findOne();
|
->findOne();
|
||||||
|
|
||||||
if(null === $paymentModule) {
|
if(null === $paymentModule) {
|
||||||
return;
|
throw new \Exception('No Payment Module fixture found');
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->orderEvent->getOrder()->chosenDeliveryAddress = $validDeliveryAddress->getId();
|
$this->orderEvent->getOrder()->chosenDeliveryAddress = $validDeliveryAddress->getId();
|
||||||
|
|||||||
@@ -141,7 +141,7 @@ try {
|
|||||||
|
|
||||||
$stmt->execute();
|
$stmt->execute();
|
||||||
|
|
||||||
echo "Creating customer\n";
|
echo "Creating customers\n";
|
||||||
|
|
||||||
//customer
|
//customer
|
||||||
$customer = new Thelia\Model\Customer();
|
$customer = new Thelia\Model\Customer();
|
||||||
@@ -291,7 +291,7 @@ try {
|
|||||||
->save();
|
->save();
|
||||||
}
|
}
|
||||||
|
|
||||||
echo "Creating folders and content\n";
|
echo "Creating folders and contents\n";
|
||||||
|
|
||||||
//folders and contents
|
//folders and contents
|
||||||
$contentIdList = array();
|
$contentIdList = array();
|
||||||
|
|||||||
Reference in New Issue
Block a user