Skip to content

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

Fix test

Adam Janik38e33a6e8f96
diff --git a/saleor/account/models.py b/saleor/account/models.py
index 10480ed708..6f46580892 100644
--- a/saleor/account/models.py
+++ b/saleor/account/models.py
@@ -65,7 +65,7 @@ class Address(models.Model):
if isinstance(data['country'], Country):
data['country'] = data['country'].code
if isinstance(data['phone'], PhoneNumber):
- data['phone'] = data['phone'].as_international
+ data['phone'] = data['phone'].as_e164
return data
def get_copy(self):