File tree Expand file tree Collapse file tree 3 files changed +13
-6
lines changed
Expand file tree Collapse file tree 3 files changed +13
-6
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,8 @@ def test_remove_item_when_quantity_gt_1
4747 Pricing ::PriceItemRemoved . new (
4848 data : {
4949 order_id : order_id ,
50- product_id : product_id
50+ product_id : product_id ,
51+ price : 20 ,
5152 }
5253 )
5354 )
@@ -93,7 +94,8 @@ def test_remove_item_when_quantity_eq_1
9394 Pricing ::PriceItemRemoved . new (
9495 data : {
9596 order_id : order_id ,
96- product_id : product_id
97+ product_id : product_id ,
98+ price : 20 ,
9799 }
98100 )
99101 )
@@ -169,7 +171,8 @@ def test_remove_item_when_there_is_another_item
169171 Pricing ::PriceItemRemoved . new (
170172 data : {
171173 order_id : order_id ,
172- product_id : another_product_id
174+ product_id : another_product_id ,
175+ price : 20 ,
173176 }
174177 )
175178 )
Original file line number Diff line number Diff line change @@ -95,6 +95,7 @@ def test_broadcast_remove_item_from_basket
9595 data : {
9696 order_id : order_id ,
9797 product_id : product_id ,
98+ price : 20 ,
9899 }
99100 )
100101 )
Original file line number Diff line number Diff line change @@ -46,7 +46,8 @@ def test_remove_item_when_quantity_gt_1
4646 item_removed_from_basket = Pricing ::PriceItemRemoved . new (
4747 data : {
4848 order_id : order_id ,
49- product_id : product_id
49+ product_id : product_id ,
50+ price : 20 ,
5051 }
5152 )
5253 event_store . publish ( item_removed_from_basket )
@@ -93,7 +94,8 @@ def test_remove_item_when_quantity_eq_1
9394 Pricing ::PriceItemRemoved . new (
9495 data : {
9596 order_id : order_id ,
96- product_id : product_id
97+ product_id : product_id ,
98+ price : 20 ,
9799 }
98100 )
99101 )
@@ -169,7 +171,8 @@ def test_remove_item_when_there_is_another_item
169171 Pricing ::PriceItemRemoved . new (
170172 data : {
171173 order_id : order_id ,
172- product_id : another_product_id
174+ product_id : another_product_id ,
175+ price : 20 ,
173176 }
174177 )
175178 )
You can’t perform that action at this time.
0 commit comments