Skip to content

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

Fix tests for Django 1.11

Aleksander Spyra254c76e8510b
diff --git a/tests/api/test_checkout.py b/tests/api/test_checkout.py
index eb9aa9ca5a..354dbf2912 100644
--- a/tests/api/test_checkout.py
+++ b/tests/api/test_checkout.py
@@ -1293,5 +1293,7 @@ def test_checkout_shipping_address_update_with_not_applicable_voucher(
assert not data['errors']
cart_with_item.refresh_from_db()
+ cart_with_item.shipping_address.refresh_from_db()
+
assert cart_with_item.shipping_address.country == new_address['country']
assert cart_with_item.voucher_code is None