Permalink
Browse files

use TotalValueELment to avoid Dough dependency in tests

  • Loading branch information...
1 parent 1c6d95c commit e162a2a42cb6ce8adb0d3101d7215653331e5c97 @iampersistent iampersistent committed Mar 17, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/Manager/BillingManagerTest.php
@@ -17,7 +17,7 @@
use Vespolina\Entity\Product\Product;
use Vespolina\Entity\Pricing\PricingContext;
use Vespolina\Entity\Partner\Partner;
-use Vespolina\Entity\Pricing\Element\TotalDoughValueElement;
+use Vespolina\Entity\Pricing\Element\TotalValueElement;
/**
* @group ecommerce
*/
@@ -156,7 +156,7 @@ protected function createRecurringOrder()
$recurringElement->setInterval('1 month');
$recurringElement->setRecurringCharge('30');
- $pricingSet = new PricingSet(new TotalDoughValueElement());
+ $pricingSet = new PricingSet(new TotalValueElement());
$pricingSet->addPricingElement($recurringElement);
$pricingSet1 = $pricingSet->process($context);

0 comments on commit e162a2a

Please sign in to comment.