Skip to content

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

Update docs

Pacu27d9cff808de3
diff --git a/docs/architecture/shippings.rst b/docs/architecture/shippings.rst
index 3938793529..8efc1b995f 100644
--- a/docs/architecture/shippings.rst
+++ b/docs/architecture/shippings.rst
@@ -12,6 +12,8 @@ Each ``ShippingZone`` can contain several countries inside, but the country migh
Some examples of the ``ShippingZones`` could be `European Union`, `North America`, `Germany` etc.
+There's also a possibility to create a default Shipping Zone which will be used for countries not covered by other zones.
+
Shipping Methods
----------------
diff --git a/tests/api/test_shipping_method.py b/tests/api/test_shipping_method.py
index cbcf4a96b9..dacc71b816 100644
--- a/tests/api/test_shipping_method.py
+++ b/tests/api/test_shipping_method.py
@@ -232,10 +232,9 @@ def test_update_shipping_zone_default_exists(
default_zone.save()
shipping_zone = shipping_zone.__class__.objects.filter(default=False).get()
- name = 'Parabolic name'
shipping_id = graphene.Node.to_global_id('ShippingZone', shipping_zone.pk)
variables = json.dumps(
- {'id': shipping_id, 'name': name, 'countries': [], 'default': True})
+ {'id': shipping_id, 'name': 'Name', 'countries': [], 'default': True})
response = admin_api_client.post(
reverse('api'), {'query': query, 'variables': variables})
content = get_graphql_content(response)