You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
analytics/test/workers
RobertJoonas d3094ffdb7
Prevent upgrades that would leave the customer locked (#3683)
* Remove allowance_required field from grace_period

Since we are now preventing customers from subscribing to a plan that
does not accommodate their pageview usage, there is no need for an extra
check on removing the grace period after a successful upgrade.

This extra check is the reason why the automatic unlocks have recently
failed in several cases.

* refactor outgrown subscription notices

* make a test actually test the described functionality

* Apply greater pageview allowance margin only for trial upgrades

...in order to prevent cancelled or paused subscriptions from subscribing
to plans that would still leave their account locked.

* Mark the entire ChoosePlanTest module full build only

* remove account locking guide

This is irrelevant for self-hosters, and the internal knowledge base is
a better place for this document. Moved it there.

* refactor Keyword get clause

* add a pattern matching assertion in code
3 years ago
..
accept_traffic_until_test.exs Update accept_traffic_until notifications (#3665) 3 years ago
check_usage_test.exs Prevent upgrades that would leave the customer locked (#3683) 3 years ago
clean_invitations_test.exs Invitations (#1122) 6 years ago
expire_domain_change_transitions_test.exs Fix flaky log assertion (#3199) 3 years ago
import_google_analytics_test.exs Add eventually/1 call to flaky test (#3054) 3 years ago
lock_sites_test.exs Prevent upgrades that would leave the customer locked (#3683) 3 years ago
notify_annual_renewal_test.exs Refactor enterprise plan upgrade and change-plan actions (#3397) 3 years ago
schedule_email_reports_test.exs Do not send email reports for locked sites 5 years ago
send_check_stats_emails_test.exs Conditionally support switching between v1 and v2 clickhouse schemas (#2780) 4 years ago
send_email_report_test.exs Small bugfix + refactor email reports (#3642) 3 years ago
send_site_setup_emails_test.exs Conditionally support switching between v1 and v2 clickhouse schemas (#2780) 4 years ago
send_trial_notifications_test.exs Reapply "Define a better monthly pageview usage (#3564)" (#3574) 3 years ago
spike_notifier_test.exs Apply unified capitalization to buttons and titles (#3321) 3 years ago