remove Selling.is_validated

This commit is contained in:
imperosol
2025-11-19 19:54:45 +01:00
parent 7373e3d9de
commit 2a5893aa79
8 changed files with 21 additions and 18 deletions

View File

@@ -186,13 +186,7 @@ class TestFilterInactive(TestCase):
time_active = now() - settings.SITH_ACCOUNT_INACTIVITY_DELTA + timedelta(days=1)
time_inactive = time_active - timedelta(days=3)
counter, seller = baker.make(Counter), baker.make(User)
sale_recipe = Recipe(
Selling,
counter=counter,
club=counter.club,
seller=seller,
is_validated=True,
)
sale_recipe = Recipe(Selling, counter=counter, club=counter.club, seller=seller)
cls.users = [
baker.make(User),