feat: added product filter tests
This commit is contained in:
@@ -13,7 +13,7 @@ class CreateProductsMixin:
|
||||
description="Descripción",
|
||||
price=Decimal("10.00"),
|
||||
) -> Product:
|
||||
tax = Tax.objects.create(
|
||||
tax, created = Tax.objects.get_or_create(
|
||||
code="IVA",
|
||||
value=21,
|
||||
)
|
||||
@@ -27,5 +27,6 @@ class CreateProductsMixin:
|
||||
product=product,
|
||||
date=now(),
|
||||
tax=tax,
|
||||
current=True,
|
||||
)
|
||||
return product
|
||||
|
||||
Reference in New Issue
Block a user