diff --git a/Dshop/apps/products_catalogue/tests/test_api_products.py b/Dshop/apps/products_catalogue/tests/test_api_products.py index ce1a98f..068edda 100644 --- a/Dshop/apps/products_catalogue/tests/test_api_products.py +++ b/Dshop/apps/products_catalogue/tests/test_api_products.py @@ -85,7 +85,7 @@ def test_product_detail(authenticated_api_client, create_active_product): def test_create_product(authenticated_api_client, create_category): url = reverse('products-api-list') data = { - 'category': create_category.id, # replace with an existing category ID + 'category': create_category.id, 'name': 'Test Product', 'price': '19.99', 'short_description': 'Test short description',