@@ -34,7 +34,7 @@ discard block |
||
| 34 | 34 | function it_assumes_quantity_is_1_if_not_provided_in_context(PriceableInterface $priceable) |
| 35 | 35 | { |
| 36 | 36 | $configuration = [ |
| 37 | - ['min' => 0, 'max' => 9, 'price' => 1699], |
|
| 37 | + ['min' => 0, 'max' => 9, 'price' => 1699], |
|
| 38 | 38 | ['min' => 10, 'max' => 19, 'price' => 1499], |
| 39 | 39 | ['min' => 20, 'max' => 29, 'price' => 1299], |
| 40 | 40 | ]; |
@@ -45,7 +45,7 @@ discard block |
||
| 45 | 45 | function it_returns_the_price_based_on_the_quantity(PriceableInterface $priceable) |
| 46 | 46 | { |
| 47 | 47 | $configuration = [ |
| 48 | - ['min' => 0, 'max' => 9, 'price' => 1699], |
|
| 48 | + ['min' => 0, 'max' => 9, 'price' => 1699], |
|
| 49 | 49 | ['min' => 10, 'max' => 19, 'price' => 1499], |
| 50 | 50 | ['min' => 20, 'max' => 29, 'price' => 1299], |
| 51 | 51 | ]; |
@@ -57,9 +57,9 @@ discard block |
||
| 57 | 57 | function it_returns_the_correct_price_for_highest_quantity_range(PriceableInterface $priceable) |
| 58 | 58 | { |
| 59 | 59 | $configuration = [ |
| 60 | - ['min' => 0, 'max' => 9, 'price' => 1699], |
|
| 61 | - ['min' => 10, 'max' => 19, 'price' => 1499], |
|
| 62 | - ['min' => 20, 'max' => 29, 'price' => 1299], |
|
| 60 | + ['min' => 0, 'max' => 9, 'price' => 1699], |
|
| 61 | + ['min' => 10, 'max' => 19, 'price' => 1499], |
|
| 62 | + ['min' => 20, 'max' => 29, 'price' => 1299], |
|
| 63 | 63 | ['min' => 30, 'max' => null, 'price' => 1099], |
| 64 | 64 | ]; |
| 65 | 65 | |