Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Updated test as well

NyanKiyoshi887a8e990b1b
diff --git a/tests/test_analytics.py b/tests/test_analytics.py
index 426d488f64..d6818e163a 100644
--- a/tests/test_analytics.py
+++ b/tests/test_analytics.py
@@ -16,7 +16,7 @@ def test_get_order_payloads(order_with_lines):
assert transaction['cu'] == order.total.currency
assert Decimal(transaction['tr']) == order.total.gross.amount
assert Decimal(transaction['tt']) == order.total.tax.amount
- assert Decimal(transaction['ts']) == order.shipping_price.gross.amount
+ assert Decimal(transaction['ts']) == order.shipping_price.net.amount
for i, line in enumerate(order):
item = data[i + 1]