fix: don't show 3-day streak discount if it won't provide a discount (#658)

Also, this will pull the actual discount percent from ecommerce,
instead of hardcoding it.

AA-1012
This commit is contained in:
Michael Terry
2021-10-21 12:50:14 -04:00
committed by GitHub
parent c3ea12225d
commit c39b3ae4c5
9 changed files with 155 additions and 42 deletions

View File

@@ -12,10 +12,10 @@ export default new Factory()
original_user_is_staff: false,
number: 'DemoX',
org: 'edX',
verifiedMode: {
upgradeUrl: 'test',
verified_mode: {
upgrade_url: 'test',
price: 10,
currencySymbol: '$',
currency_symbol: '$',
},
})
.attr(