Skip to content

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

Update collection list in conftest

IKarbowiak9e3414dd46f6
diff --git a/tests/conftest.py b/tests/conftest.py
index 445bf87689..86b51e391f 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -1348,9 +1348,9 @@ def collection_with_image(db, image, media_root):
def collection_list(db):
collections = Collection.objects.bulk_create(
[
- Collection(name="Collection 1", is_published="True"),
- Collection(name="Collection 2", is_published="True"),
- Collection(name="Collection 3", is_published="True"),
+ Collection(name="Collection 1", slug="collection-1", is_published="True"),
+ Collection(name="Collection 2", slug="collection-2", is_published="True"),
+ Collection(name="Collection 3", slug="collection-3", is_published="True"),
]
)
return collections