Skip to content

Add learn duo pro discover link in expired duo pro trial widget

Doug Stull requested to merge 465929-end-duo-updates into master

What does this MR do and why?

Add learn duo pro discover link in expired duo pro trial widget

Changelog: other EE: true

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Before After
Screenshot_2024-09-03_at_4.21.44_PM Screenshot_2024-09-03_at_4.20.46_PM

Screen_Recording_2024-09-03_at_4.22.50_PM

How to set up and validate locally

bin/rails c

GitlabSubscription.last.update(trial: true, trial_starts_on: 45.days.ago, trial_ends_on: 15.days.ago)
GitlabSubscriptions::AddOnPurchase.create(subscription_add_on_id: GitlabSubscriptions::AddOn.find_by(name: 'code_suggestions').id, namespace: Group.last, organization_id: 1, started_at: 69.days.ago, expires_on: 9.days.ago, trial: true, quantity: 1, purchase_xid: '1')
  • Visit group page. Make sure you can see expired Duo Pro trial widget.

Related to #465929

Edited by Doug Stull

Merge request reports

Loading