• Stefy Lanza (nextime / spora )'s avatar
    test_integration: align with current payment schema and code · eb63b216
    Stefy Lanza (nextime / spora ) authored
    Rewrite the integration tests against the current schema/behaviour:
    - crypto flow: process_transaction records the tx itself (drop the manual
      crypto_transactions insert with non-existent from_address/to_address columns;
      ensure a crypto wallet row exists; pass a float amount for SQLite binding).
    - subscriptions: use account_tiers + subscriptions (not subscription_tiers/
      user_subscriptions), create the required card payment method, and make the
      renewal subscription actually due (current_period_end in the past); assert via
      process_renewals' processed count.
    - consolidation: enable crypto_consolidation_settings so candidates are queued.
    - notifications: enable email_notification_settings and add an email_templates
      row so the notification is actually sent.
    Co-Authored-By: 's avatarClaude Opus 4.8 <noreply@anthropic.com>
    eb63b216
Name
Last commit
Last update
..
subscription Loading commit data...
__init__.py Loading commit data...
test_auto_topup.py Loading commit data...
test_integration.py Loading commit data...
test_migrations.py Loading commit data...
test_monitor.py Loading commit data...
test_paypal.py Loading commit data...
test_pricing.py Loading commit data...
test_renewal.py Loading commit data...
test_retry.py Loading commit data...
test_stripe.py Loading commit data...
test_subscription.py Loading commit data...
test_topup.py Loading commit data...
test_wallet.py Loading commit data...
test_wallet_renewal.py Loading commit data...