Skip to content

Commit 4fda664

Browse files
committed
Kill mutant
1 parent ee58ea1 commit 4fda664

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ecommerce/pricing/lib/pricing/offer.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ def initialize(id)
1212
@state = :draft
1313
end
1414

15-
def add_item(product_id, base_price, promotion = nil)
15+
def add_item(product_id, base_price, promotion)
1616
if promotion
1717
promotion_applies, price = promotion.apply(@list.quantities, product_id, base_price)
1818
end

0 commit comments

Comments
 (0)