Skip to content

Commit ed579c4

Browse files
committed
Revert "Failing test -- Discount added at the end should be included correctly"
This reverts commit 1f76f43.
1 parent 8b7a5f2 commit ed579c4

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

ecommerce/pricing/test/three_plus_one_test.rb

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -254,23 +254,6 @@ def test_given_3_plus_one__when_10_percent_discount_for_offer__then_offer_price_
254254
}
255255
)
256256
) { add_item(order_id, product_id) }
257-
assert_events(
258-
stream,
259-
PercentageDiscountSet.new(
260-
data: {
261-
order_id: order_id,
262-
type: Discounts::GENERAL_DISCOUNT,
263-
amount: 10
264-
}
265-
),
266-
OrderTotalValueCalculated.new(
267-
data: {
268-
order_id: order_id,
269-
discounted_amount: 54,
270-
total_amount: 80
271-
}
272-
)
273-
) { set_percentage_discount(order_id, 10) }
274257
end
275258
end
276259
end

0 commit comments

Comments
 (0)