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();