Skip to content

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

Change pk in tests

Mira03c976043446
diff --git a/tests/test_collection.py b/tests/test_collection.py
index b42e1da868..10039a3f89 100644
--- a/tests/test_collection.py
+++ b/tests/test_collection.py
@@ -74,7 +74,7 @@ def test_collection_update_view(admin_client, collection, product_in_stock):
def test_collection_delete_view(admin_client, collection):
# Test Http404 when collection doesn't exist
- pk = collection.pk + 1
+ pk = 500
url404 = reverse('dashboard:collection-delete',
kwargs={'collection_pk': pk})
response404 = admin_client.post(url404)