mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-10 20:09:25 +00:00
Fix selling ordering bug that created "not enough money" errors
* Add tests * Add tests for cons/dcons
This commit is contained in:
@ -460,6 +460,7 @@ Welcome to the wiki page!
|
||||
limit_age=18,
|
||||
)
|
||||
cons = Product.objects.create(
|
||||
id=settings.SITH_ECOCUP_CONS,
|
||||
name="Consigne Eco-cup",
|
||||
code="CONS",
|
||||
product_type=verre,
|
||||
@ -469,6 +470,7 @@ Welcome to the wiki page!
|
||||
club=main_club,
|
||||
)
|
||||
dcons = Product.objects.create(
|
||||
id=settings.SITH_ECOCUP_DECO,
|
||||
name="Déconsigne Eco-cup",
|
||||
code="DECO",
|
||||
product_type=verre,
|
||||
|
Reference in New Issue
Block a user