Skip to content

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

Fix tests

Artur Smęta7ddd93eb57f
diff --git a/saleor/cart/tests.py b/saleor/cart/tests.py
index db906cef32..ceeb696aac 100755
--- a/saleor/cart/tests.py
+++ b/saleor/cart/tests.py
@@ -19,12 +19,18 @@ class BigShip(ProductVariant, StockedProduct, PhysicalProduct):
def get_price_per_item(self, discounted=True, **kwargs):
return self.price
+ def get_slug(self):
+ return 'bigship'
+
class ShipPhoto(ProductVariant):
def get_price_per_item(self, discounted=True, **kwargs):
return self.price
+ def get_slug(self):
+ return 'bigship-photo'
+
class BigShipCartForm(AddToCartForm):