store apply_discounts result for use in test cases

This commit is contained in:
Mira Weller
2024-07-18 11:21:01 +02:00
parent e01e9151c3
commit b8d2372cf6

View File

@@ -88,7 +88,7 @@ class CrossSellingService:
potential_discounts_by_cartpos = defaultdict(list)
from ..services.pricing import apply_discounts
apply_discounts(
self._discounted_prices = apply_discounts(
self.event,
self.sales_channel,
[