Skip to content

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

Improve checkout tests

Michal Ociepka6db0457816dc
diff --git a/checkout/tests/__init__.py b/checkout/tests/__init__.py
index dc6fe9c9b5..08a528d079 100644
--- a/checkout/tests/__init__.py
+++ b/checkout/tests/__init__.py
@@ -81,6 +81,7 @@ class TestBillingAddressStep(TestCase):
def test_address_save_with_address_in_checkout(self):
self.request.POST = NEW_ADDRESS_POST
+ self.request.POST['email'] = '[email protected]'
self.checkout.billing_address = Address()
step = BillingAddressStep(self.checkout, self.request)
self.assertTrue(step.forms_are_valid(), 'Forms don\'t validate.')