Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Fix tests for quantity field
Artur Smętfc610265a146
diff --git a/saleor/cart/tests.py b/saleor/cart/tests.pyindex c57f94fb89..62340f8bbf 100755--- a/saleor/cart/tests.py+++ b/saleor/cart/tests.py@@ -99,7 +99,7 @@ class BigShipCartFormTest(TestCase):Is BigShipCartForm works with not stocked product"""cart = Cart()- self.post['quantity'] = 10000+ self.post['quantity'] = 999form = BigShipCartForm(self.post, cart=cart, product=digital_product)self.assertTrue(form.is_valid(), 'Form doesn\'t valitate')self.assertFalse(cart, 'Cart isn\'t empty')