Skip to content

Commit

Permalink
Corrige teste relacionado ao renewal_alert
Browse files Browse the repository at this point in the history
  • Loading branch information
naanadr committed Oct 21, 2024
1 parent 9cb083f commit 7a4cc2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/payment/tests/test_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def test_renewal_alert_sends_emails(self):
self.assertIn(self.user.get_full_name(), mail.outbox[0].body)

def test_renewal_alert_sends_email_alerts_before_membership_expires(self):
test_cases = (60, 30, 15, 7)
test_cases = (30, 15, 7)
for days in test_cases:
mail.outbox = []
self.payment.valid_until = self.now + timedelta(days=days)
Expand Down

0 comments on commit 7a4cc2c

Please sign in to comment.