Apply review comments

This commit is contained in:
imperosol
2024-12-17 17:23:13 +01:00
parent 47876e3971
commit 8d643fc6b4
5 changed files with 37 additions and 17 deletions

View File

@ -87,5 +87,5 @@ def test_move_above_product_type(product_types: list[ProductType]):
)
def test_controller_permissions(client: Client, user_factory, status_code):
client.force_login(user_factory())
response = client.get(reverse("api:fetch-product-types"))
response = client.get(reverse("api:fetch_product_types"))
assert response.status_code == status_code